Boost logo

Boost-Build :

From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2020-01-23 19:16:34


Not sure specifically about msvc 14.2.. But generally you should be able to
do something like:

using mxvc : 14.2~release : c:/path/to/release/cl.exe ;
using msvc : 14.2~preview : c?path/to/preview/cl.exe ;

Are you saying that doesn't work for you?

On Thu, Jan 23, 2020 at 12:25 PM Edward Diener via Boost-build <
boost-build_at_[hidden]> wrote:

> On 1/23/2020 3:27 AM, Edward Diener via Boost-build wrote:
> > I have both Visual Studio 2019 and the latest Visual Studio 2019 Preview
> > version installed in separate locations. I have no problem testing a
> > Boost library using VS2019 with the normal msvc-14.2, simply be having
> > in my user-config.jam:
> >
> > using msvc : 14.2 : : <cxxflags>"/Zc:__cplusplus" ;
> >
> > Is there any easy way I can test with the VS2019 Preview version ? I
> > would even be willing to temporarily replace my user-config.jam entry
> > above with something else which would find and use my Preview version
> > instead of the normal regular version of VS 2019 if necessary. I can
> > always change it back to test the normal VS2019 when necessary.
> >
> > Any help would be appreciated.
>
> I was able to figure out how to use the Visual Studio 2019 Preview
> release in Boost Build although I could not figure out a way to use both
> the Visual Studio 2019 release and the Visual Studio 2019 Preview
> release at the same time. My solution was to add another toolset entry
> for msvc-14.2 which has, in addition to my previous entry above, options
> for <setup-amd64> and <setup-i386> which point respectively to the
> vcvars64.bat and vcvars32.bat for the Preview release, and also adding
> the option <rewrite-setup-scripts>always. I then commented out my
> original toolset line for msvc-14.2 above and Boost Build successfully
> used the Preview release. Of course I have to manually switch between my
> original msvc-14.2 toolset and my new Preview release msvc-14.2 toolset
> by commenting out or uncommenting out one or the other, but since both
> are msvc-14.2 I do not see how both can coexist in my user-config.jam. I
> had to also add to my original msvc-14.2 toolset line above the
> <rewrite-setup-scripts>always option to force each msvc-14.2 toolset
> which I use to use its own setup script. I do not think there is a way
> to use both of them together, so if anybody knows of a way to do that I
> would love to hear about it.
>
> _______________________________________________
> Unsubscribe & other changes:
> https://lists.boost.org/mailman/listinfo.cgi/boost-build
>

-- 
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net


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