Boost logo

Boost-Build :

Subject: Re: [Boost-build] Output directories of Boost Build
From: Edward Diener (eldiener_at_[hidden])
Date: 2015-09-19 10:44:26


On 9/19/2015 8:38 AM, Niklas Angare wrote:
> "Edward Diener" <eldiener_at_[hidden]> wrote:
>> Is there a general way to control the location of Boost Build output
>> directories, or are they always relative to the source directory, or
>> perhaps relative to the Boost top-level directory ?
>
> I found this in Jamroot with a quick search for bin.v2 in the repository :
>
> project boost
> ...
> : build-dir bin.v2
>
>> I would like to share my Boost git repository between different Window
>> OSs in a multi-boot machine, using a common NTFS drive. But I want to
>> have the output from Boost build go to different local drives for each
>> OS.
>
> With a further search I found the --build-dir command-line option to b2
> that would seem to solve your problem.
>
> http://www.boost.org/build/doc/html/bbv2/overview/invocation.html

I am not sure what this means in the documentation.

If currently my local Boost git repository from source is at
C:/Programming/VersionControl/modular-boost do I specify the --build-dir
as 'C:/Programming/VersionControl/modular-boost' to ensure that the
output of tests goto C:/Programming/VersionControl/modular-boost/bin.v2
? What about install and stage directories ? Do they then go to
sub-directories relative to C:/Programming/VersionControl/modular-boost
if I set --build-dir as 'C:/Programming/VersionControl/modular-boost' ?


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