Boost logo

Boost-Build :

Subject: Re: [Boost-build] Output directories of Boost Build
From: Niklas Angare (li51ckf02_at_[hidden])
Date: 2015-09-19 08:38:47


"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

Regards,

Niklas Angare


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