Skip to content

Commit

Permalink
Use Visual Studio 2019
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmilk committed Apr 15, 2020
1 parent 1ad4cdb commit e68922f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions CPP/appveyor.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,35 @@ REM Microsoft Visual Studio 2012 (VC=11.0)
REM Microsoft Visual Studio 2013 (VC=12.0)
REM Microsoft Visual Studio 2015 (VC=14.0)
REM Microsoft Visual Studio 2017 (VC=15.0)
REM Microsoft Visual Studio 2019 (VC=16.0)

REM to many vcvarsall.cmd calls will blow it up!
set OPATH=%PATH%
set ERRFILE=%APPVEYOR_BUILD_FOLDER%\error.txt
cd %APPVEYOR_BUILD_FOLDER%\CPP

goto build_vs2017
goto build_vs2019

:build_vs2017
set VC=15.0
:build_vs2019
set VC=16.0
set PATH=%OPATH%
set SUBSYS="5.01"
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x86
call build-it.cmd

set PATH=%OPATH%
set SUBSYS="5.02"
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x64
call build-it.cmd

set PATH=%OPATH%
set SUBSYS="6.02"
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64_arm
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x64_arm
call build-it.cmd

set PATH=%OPATH%
set SUBSYS="6.02"
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64_arm64
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x64_arm64
call build-it.cmd

goto end
Expand Down

0 comments on commit e68922f

Please sign in to comment.