Subject: Re: [boost] bjam boost build on windows - changing the path strategy (stage)
From: James E. King, III (jking_at_[hidden])
Date: 2017-11-16 01:47:26
On Wed, Nov 15, 2017 at 6:56 PM, Robert via Boost <boost_at_[hidden]>
> On 11/15/2017 2:54 PM, James E. King, III via Boost wrote:
>> I would like to build boost into a prefix directory (.\b2.exe
>> --prefix=C:\prefix) containing "C:\prefix\include\boost\..." and
>> "C:\prefix\lib", just like the linux build does. On Windows it builds
>> ""C:\prefix\include\boost-1_66\boost\..." instead - is there a bjam
>> to get rid of the version in the prefix include path for header copies?
> I use a Windows environment variable to have the starting path set to
> whatever it needs to be. In Visual Studio it is invoked by $(BOOST_INCLUDE)
> For example:
> Then, when 1.64 is built, the include variable becomes:
> Visual Studio only reads environment variables when it first launches.
> Consequently, if it is already open, please restart it.
I am asking for a way for bjam to remove boost-1_66 in the path to the
include during the install job because I am going to package up include/
and lib/ into a jfrog repository for a gradle build system.
I guess I will just move include/boost-1_66/boost into include/boost and
then package it, then move it back so that I can build again incrementally.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk