Howto build Boost libraries without installing headers

Here we go...

./bjam --stagedir=/place/to/put/a/lib/dir --with-lib_I_want_to_build link=static variant=release threading=single stage

Of course, you can make the properties what you want. Bjam will place the libraries within a 'lib' sub-directory of the stage dir you specify. Do a normal bootstrap; there doesn't seem to be a need to use --with-library=foo when running bootstrap.sh or to specify any prefix or lib dirs.

No comments:

Post a Comment