You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default or latest MSVC version can be found in Auxiliary\Build\Microsoft.VCToolsVersion.default.txt, and the new vcvar batch scripts allow you to pass the minor version as an option.
SCons could support this, by allowing the minor version to be set in the enivornment, something like env['MSVC_SPECIFIC_VERSION']='14.11.1673' and then passing that along to the vcvar script call.
dmoody256
changed the title
Improvement: Allow MSVC tool to choose specific msvc version down to minor version
MSVC tool supports choosing specific msvc version down to minor version
Jan 20, 2019
I'm thinking MSVC_VERSION= allowing more than just MM.mm and then would do a left string match
so 14.11 would match 14.11.1673 and 14.11., 14.11.1 would match 14.11.1. so split on '.' and then match pieces as far as the request.
That way no new variable needed. No change to existing build systems which don't need that specific.
Newer versions of Visual Studio support installing multiple minor versions of the MSVC toolset: https://blogs.msdn.microsoft.com/vcblog/2017/11/15/side-by-side-minor-version-msvc-toolsets-in-visual-studio-2017/
The default or latest MSVC version can be found in Auxiliary\Build\Microsoft.VCToolsVersion.default.txt, and the new vcvar batch scripts allow you to pass the minor version as an option.
SCons could support this, by allowing the minor version to be set in the enivornment, something like
env['MSVC_SPECIFIC_VERSION']='14.11.1673'
and then passing that along to the vcvar script call.A TODO was introduced in #3264.
The text was updated successfully, but these errors were encountered: