Usage

Basic syntax:

buildboss basedir

basedir should be the base directory of all your .cpp files.

buildboss .
buildboss ~/mykit/src

Compiling

You may then compile compile your project using make. The default is to make a debug-mode building makefile, if you would like an optimized one, use the -O parameter. For example:

buildboss . -O
If you do not want to use the current directory, you may list one or more named directories directly.

Tagging your .cpp files

Build Boss uses special tags with .cpp file to terminate their executable membership and library requirements. The tags look like:

//BBlibs libs...
//BBtargets targets

Where BBlibs is a space separated list of libraries that this .cpp needs. The names of the libraries should correspond to the pkg-config names. Use scopira for normal kits and scopiraui for kits that contain proponents.

BBtargets is a list of one or more targets to which this .cpp file belongs. Targets that begin with lib are assumed to be libraries (with the appropriate options sent to the linker), otherwise standard executables are assumed.

In this example, the .cpp file needs scopira and will be part of the libsample2uikit.so library:

//BBlibs scopira
//BBtargets libsample2uikit.so