Choosing vc++ setup for 14.1
Edward Diener via Boost-build <[email protected]>
| Newsgroups | gmane.comp.lib.boost.build |
|---|---|
| Message-ID | <[email protected]> |
In my user_config.jam I have for msvc-14.1: using msvc : 14.1 ; using msvc : 14.1c14 : : <cxxflags>"/std:c++14" ; using msvc : 14.1c17 : : <cxxflags>"/std:c++latest" ; If I invoke b2 with "toolset=msvc-14.1" the msvc-setup.bat shows: REM "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat" SET CommandPromptType=Native SET DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\ among many other lines, which is certainly correct for vc++ 14.1. But if I invoke b2 with "toolset=msvc-14.1c14" or "toolset=msvc-14.1c17" the msvc-setup.bat shows: REM "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86 SET DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\ which is the setup for msvc-14.0 and not msvc-14.1. Is this a known bug or is my usage of the msvc toolset incorrect ? I am able to use the pattern above to invoke other toolsets ( gcc, clang, intel ) with different cxxflags. _______________________________________________ Unsubscribe & other changes: https://lists.boost.org/mailman/listinfo.cgi/boost-build