Minimalistic Ninja generator
This project is a WIP
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/*)
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
- 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!
- Make alias
bf
forpython buildfox.py
command- On Windows it's
doskey bf=python %path_to_the_repo%\buildfox.py $*
- On Windows it's
- Run
bf --selftest
to make sure everything is ok - Done!