File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ environment:
2020 APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2015
2121 - MSVC_VER : 15
2222 APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2017
23+ - MSVC_VER : 16
24+ APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2019
2325
2426install :
2527# Install GitLink
@@ -32,7 +34,9 @@ before_build:
3234
3335# Setup msvc environment for required compiler version (specified by MSVC_VER)
3436- ps : >-
35- if ($env:MSVC_VER -eq 15) {
37+ if ($env:MSVC_VER -eq 16) {
38+ $env:VCVARS="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat"
39+ } elseif ($env:MSVC_VER -eq 15) {
3640 $env:VCVARS="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat"
3741 } else {
3842 $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:MSVC_VER" + "0COMNTOOLS"))
@@ -102,7 +106,9 @@ before_build:
102106# Set Targets path so that gitlink works correctly
103107- ps : $env:MSBUILDDIR=((Get-Command msbuild.exe).Path | Split-Path -parent)
104108- ps : >-
105- if ($env:MSVC_VER -eq 15) {
109+ if ($env:MSVC_VER -eq 16) {
110+ $env:VCTargetsPath="$env:MSBUILDDIR\..\..\Microsoft\VC\v160\"
111+ } elseif ($env:MSVC_VER -eq 15) {
106112 $env:VCTargetsPath="$env:MSBUILDDIR\..\..\..\Common7\IDE\VC\VCTargets"
107113 } else {
108114 $env:VCTargetsPath="$env:MSBUILDDIR\..\..\..\Microsoft.Cpp\v4.0\V${env:MSVC_VER}0"
You can’t perform that action at this time.
0 commit comments