This repository was archived by the owner on Jan 26, 2026. It is now read-only.
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 @@ -18,6 +18,8 @@ environment:
1818 APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2015
1919 - MSVC_VER : 15
2020 APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2017
21+ - MSVC_VER : 16
22+ APPVEYOR_BUILD_WORKER_IMAGE : Visual Studio 2019
2123
2224install :
2325# Install GitLink
@@ -30,7 +32,9 @@ before_build:
3032
3133# Setup msvc environment for required compiler version (specified by MSVC_VER)
3234- ps : >-
33- if ($env:MSVC_VER -eq 15) {
35+ if ($env:MSVC_VER -eq 16) {
36+ $env:VCVARS="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat"
37+ } elseif ($env:MSVC_VER -eq 15) {
3438 $env:VCVARS="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat"
3539 } else {
3640 $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:MSVC_VER" + "0COMNTOOLS"))
@@ -100,7 +104,9 @@ before_build:
100104# Set Targets path so that gitlink works correctly
101105- ps : $env:MSBUILDDIR=((Get-Command msbuild.exe).Path | Split-Path -parent)
102106- ps : >-
103- if ($env:MSVC_VER -eq 15) {
107+ if ($env:MSVC_VER -eq 16) {
108+ $env:VCTargetsPath="$env:MSBUILDDIR\..\..\Microsoft\VC\v160\"
109+ } elseif ($env:MSVC_VER -eq 15) {
104110 $env:VCTargetsPath="$env:MSBUILDDIR\..\..\..\Common7\IDE\VC\VCTargets"
105111 } else {
106112 $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