#951 closed defect (fixed)
setenvironment.bat: Support VS2017 (with 2015 compiler workload)
Reported by: | jng | Owned by: | jng |
---|---|---|---|
Priority: | major | Milestone: | 4.1.0 |
Component: | Build System | Version: | 4.1.0 |
Severity: | 3 | Keywords: | |
Cc: | External ID: |
Description
The current setenvironment.bat
does not properly set up the build environment if the installation is VS2017 with the 2015 compiler workload enabled.
According to this (https://docs.microsoft.com/en-us/visualstudio/releasenotes/vs2017-relnotes-v15.3#C++ToolsetLibs15), for such installations, we should test for and call vcvarsall.bat
in $VSINSTALL\2017\$EDITION\VC\Auxiliary\Build
with -vcvars_ver=14.0
setenvironment.bat
should check for these paths first and call vcvarsall.bat
with the -vcvars_ver=14.0
argument if required.
Note:
See TracTickets
for help on using tickets.
In 7652: