[Fdo-trac] [fdo-trac] #951: setenvironment.bat: Support VS2017 (with 2015 compiler workload)

FDO trac_fdo at osgeo.org
Wed Apr 18 09:24:25 PDT 2018


#951: setenvironment.bat: Support VS2017 (with 2015 compiler workload)
----------------------------+----------------------
   Reporter:  jng           |      Owner:  jng
       Type:  defect        |     Status:  assigned
   Priority:  major         |  Milestone:  4.1.0
  Component:  Build System  |    Version:  4.1.0
   Severity:  3             |   Keywords:
External ID:                |
----------------------------+----------------------
 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.

-- 
Ticket URL: <https://trac.osgeo.org/fdo/ticket/951>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list