Re: How should I fix the default b2 compiler to be MSVC 14.2?

Steven Watanabe via Boost-build <[email protected]> Fri, 31 May 2019 12:02:37 -0600
Newsgroups gmane.comp.lib.boost.build
Organization Providere Consulting, Inc.
Message-ID <[email protected]>
AMDG

On 5/31/19 7:25 AM, Paul A Bristow via Boost-build wrote:
> I have both MSVC 2017 14.1 and 2019 14.2 configured.
> 
> https://boostorg.github.io/build/manual/develop/index.html#bbv2.reference.tools.compilers <https://boostorg.github.io/build/manual/develop/index.html> 
> 
> says that by default, the most recent registry entry will be called,  but seems to be 14.1 at present.
> 

Did you configure it in user-config.jam?  If you
did, then the first version to be initialized is
the default.

> How should I ensure that when I call b2 that *by default* the VS 2019 14.2 version is used ?
> 
> (I’d rather not have to call with toolset=msvc-14.2 each time – I’m bound to forget ☹ )
> 
> Of course, I also want to be able to b2 toolset=msvc-14.1,msvc14.2, gcc-8.1.0 ..
> 

In Christ,
Steven Watanabe
_______________________________________________
Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build