Boost logo

Boost-Build :

From: Zbynek Winkler (zw-bjam_at_[hidden])
Date: 2005-09-20 12:17:49

David Abrahams wrote:

>>When bjam is invoked, it always needs to be able to find the
>>Boost.Build root directory, where the interpreted source code of
>>Boost.Build is located. There are two ways to tell bjam about the root
>> ● Set the environment variable BOOST_BUILD_PATH to the absolute path
>> of the Boost.Build root directory.
>> ● At the root directory of your project
>> or in any of its parent directories, create a file called
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>italicize this
>> boost-build.jam, with a single
>> line:
>> boost-build /path/to/ ;
> We recommend this approach: once you've set up a boost-build.jam
> file in a parent directory of the one in which you do most of
> your development, it should almost never be necessary to think
> about it again, and you won't be cluttering your environment
> with settings specific to a single tool.
To use bb2 I create a script in ~/bin directory (where my PATH points)
usually named "b" with this contents:

export BOOST_BUILD_PATH=/home/zbynek/boost-build
/home/zbynek/boost-build/jam_src/bin.linuxx86/bjam $*

and use that to invoke bb2. It is hidden in the ~/bin dir along with a
bunch of other scripts of this kind so it clutters neither the
environment nor the home dir.



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at