Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-09-20 12:45:17


Zbynek Winkler <zw-bjam_at_[hidden]> writes:

>>Add
>> 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.

Of course; It clutters the ~/bin directory instead ;-).

I do something like that for BBv1, since there are so many
command-line/env variables that can have an effect.

Are you suggesting we add that recommendation to the docs, or are you
just offering it up as a useful hint for other BB users, or...?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

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