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
>> boost-build.jam, with a single
>> boost-build /path/to/boost.build ;
> 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:
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 acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk