Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(#5119) [boost] For Visual Studio, pass some values of settings.compi…
…ler.toolset to B2 * boost: Support settings.compiler.toolset for MSVC Translates settings.compiler.toolset settings in the form vNNN to a toolset version, overriding the use of the settings.compiler.version. This allows building with Visual Studio 2019 while using older toolsets. * boost: Don't use tools.vcvars() if a toolset is specified It appears that if the environment variables are set, B2 will use the compiler set by tools.vcvars() despite the toolset setting. Even without tools.vcvars(), B2 seems to find the compiler and other tools. * boost: Make _toolset_version use msvs_toolset() Eliminate all the guessing of version numbers and use the calculations and defaults in tools.msvs_toolset() Retain the conversion of the version number to what B2 wants: v141 -> 14.1 for instance. * boost: Fix choice of using tools.vcvars(). Use tools.vcvars() unless the user specified a toolset manually.
- Loading branch information