Boost logo

Boost :

Subject: Re: [boost] [Boost-build] Building Boost 1.69 with Visual Studio 1.69
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2019-03-25 20:15:43


On Mon, 25 Mar 2019 at 20:00, Rene Rivera via Boost-build
<boost-build_at_[hidden]> wrote:
> On Mon, Mar 25, 2019 at 1:09 PM Paul A. Bristow via Boost <boost_at_[hidden]> wrote:
>>
>>
>> This looks fine, except that what I really expect and want to be able to do is use BOTH 14.1 and 14.2 in one call of bjam/b2
>>
>> b2 address-model=64 toolset=msvc-14.1,msvc-14.2 ...
>
>
> If that's not supported it would be a bug.
>
>>
>> So I put this in my user-config.jam
>>
>> using msvc
>> : # Version VS 2017
>> 14.1
>> : # compiler location (Note that the file layout completely changed recently)
>> "C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.14.26428/bin/Hostx64/x64/cl.exe" # 15.7.1
>> 15May2018 for
>
>
> You shouldn't need to put in the cl.exe path. B2 is supposed to find it on its own.

Yes.
Things seem to improved since my last e-mail where I described the hack.
This should do the trick now, AFAICT:

using msvc : 14.2 ;

Best regards,

-- 
Mateusz Loskot, http://mateusz.loskot.net

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk