MCPcopy Index your code
hub / github.com/beardsvibe/buildfox

github.com/beardsvibe/buildfox @v0.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2 ↗ · + Follow
126 symbols 383 edges 69 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

BuildFox Build Status Build status Coverage Status

Minimalistic ninja generator

This project is a WIP

Example

Build all files in current folder :

build objects(*): auto *.cpp
build application(helloworld): auto objects(*)

Or build all files recursively :

build objects(obj/**_*): auto **/*.cpp
build application(bin/helloworld): auto objects(obj/*)

Usage

Building project

bf && ninja

Generating IDE solution

bf --ide vs # this will autoselect proper version of vs
bf --ide vs2012
bf --ide vs2013
bf --ide vs2015
bf --ide qtcreator
bf --ide cmake # for cmake based IDE's
bf --ide make # useful in some cases

Resources

Installation

  • Get ninja (v1.3+ is supported, v1.6 is recommended)
  • Get python (v2.7+ is supported, v3.5 is recommended)
  • Run pip install buildfox
  • If pip installs locally (for example on Ubuntu) you need to add export PATH=$PATH:/home/$USER/.local/bin/ to .bashrc
  • Run bf --selftest to make sure everything is ok
  • Done!

Using from source

  • Make alias bf for python buildfox.py command
    • On Windows it's doskey bf=python %path_to_the_repo%\buildfox.py $*
  • Run bf --selftest to make sure everything is ok
  • Done!

Core symbols most depended-on inside this repo

eval
called by 17
lib_engine.py
expect_token
called by 15
lib_parser.py
to_esc
called by 14
lib_engine.py
read_path
called by 10
lib_parser.py
read_identifier
called by 8
lib_parser.py
which
called by 7
lib_util.py
eval_find_files
called by 7
lib_engine.py
read_eol
called by 7
lib_parser.py

Shape

Method 76
Function 46
Class 4

Languages

Python88%
C++8%
C4%

Modules by API surface

lib_engine.py38 symbols
lib_parser.py27 symbols
tools/tests.py22 symbols
lib_util.py11 symbols
tools/deploy.py4 symbols
lib_selftest.py2 symbols
lib_version.py1 symbols
lib_ide_vs.py1 symbols
lib_ide_qtcreator.py1 symbols
lib_ide_make.py1 symbols
lib_ide_cmake.py1 symbols
lib_environment.py1 symbols

For agents

$ claude mcp add buildfox \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact