Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2005-07-04 07:27:52

Vladimir Prus <ghost_at_[hidden]> writes:

> Jonathan Turkanis wrote:
>> Rene Rivera wrote:
>>> Oliver Schoenborn wrote:
>>>> Hi,
>>>> Is there a way of specifying the boost-build dir in the top-level
>>>> Jamfile of a project?
>>> Not currently.
>>>> It seems like it can only be done in the boost-build.jam file
>>>> (using environment var is not an option here). Seems like a bit of a
>>>> cludge to have to use yet another file to specify that.
>>> It's better than the previous kludge of specifying an environment
>>> variable.
>> Why is it better? An environment variable seems easier, unless you have
>> two installations of Boost.Build.
> It's better because you can drop a "build" directory to your project, and
> put
> boost-build build ;
> to the boost-build.jam file. It will work without having all users of the
> software download Boost.Build and set environment variable.
> OTOH, environment variable is better if you have many projects using
> Boost.Build, and all users have Boost.Build already installed.

Not if they way they installed Boost.Build was to put a
boost-build.jam file in their home or root directory, above where all
their projects live. That's a very convenient arrangement and asking
those people to set up an environment variable and maintain it is just
an inconvenience.

Dave Abrahams
Boost Consulting

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at