Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-09-28 10:33:59


Martin Wille <mw8329_at_[hidden]> writes:

> David Abrahams wrote:
>> Martin Wille writes:
>>
>>
>>>Hi,
>>>
>>>the installation script for Boostbook contains:
>>>
>>> elif test -r "$BOOST_ROOT/tools/build/v2/user-config.jam"; then
>>> JAM_CONFIG_IN="$BOOST_ROOT/tools/build/v2/user-config.jam";
>>>
>>>
>>>Shouldn't BOOST_BUILD_PATH be checked, too?
>
> The code apparently looks for something that resides somewhere in the
> guts of Boost.Build. Isn't that location specified by BOOST_BUILD_PATH
> if that variable is set?

It's pointed at by your boost-build.jam file.

> What happens if you install BBv2 at some place unrelated to BOOST_ROOT?

Your boost-build.jam file still needs to point at the BBv2 root
directory, and in that case it just works. BOOST_BUILD_PATH is merely
for adding your own modules to the build system, should you so desire.

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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk