Skip to content

MSVC tool supports choosing specific msvc version down to minor version #3265

@dmoody256

Description

@dmoody256

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.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions