Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-07-04 01:57:36


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.

- Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net