|
Boost : |
Subject: Re: [boost] Invoking a library's build//stage ignores --stagedir?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-04-14 12:10:33
AMDG
On 04/14/2016 09:59 AM, Peter Dimov wrote:
> Let's suppose that for some random reason I want to stage Boost.System
> into c:\stage with the current directory being outside the Boost root,
> which is at c:\projects\boost-git\boost:
>
> C:\Users\Peter Dimov>b2 -sBOOST_ROOT=c:\projects\boost-git\boost
> --stagedir=c:\stage c:/projects/boost-git/boost/libs/system/build//stage
>
> This doesn't work. Or rather, it works, but stages into
> C:\projects\boost-git\boost\libs\system\stage, ignoring the --stagedir.
>
> I have no idea why. I tried to debug with -d+7, and BOOST_STAGE_LOCATE
> is set correctly from --stagedir, but then Boost.System is staged to its
> local stage directory.
>
> Does anyone have an idea what's wrong here?
>
BOOST_STAGE_LOCATE is in boostcpp.jam,
not Jamroot. This was broken when boostcpp.jam
was split into a separate module.
In Christ,
Steven Watanabe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk