comparison deploy/win64/build-64.bat @ 2397:1a4bd4aa40ec

Update to VC2019
author Chris Cannam
date Wed, 23 Oct 2019 09:10:47 +0100
parents 446006ea9099
children 791ee0f879fd
comparison
equal deleted inserted replaced
2396:ab09e05b0d35 2397:1a4bd4aa40ec
3 3
4 echo on 4 echo on
5 5
6 set STARTPWD=%CD% 6 set STARTPWD=%CD%
7 7
8 set QTDIR=C:\Qt\5.13.0\msvc2017_64 8 set QTDIR=C:\Qt\5.13.1\msvc2017_64
9 if not exist %QTDIR% ( 9 if not exist %QTDIR% (
10 @ echo Could not find 64-bit Qt 10 @ echo Could not find 64-bit Qt in %QTDIR%
11 @ exit /b 2 11 @ exit /b 2
12 ) 12 )
13 13
14 if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" ( 14 set vcvarsall="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat"
15
16 if not exist %vcvarsall% (
15 @ echo "Could not find MSVC vars batch file" 17 @ echo "Could not find MSVC vars batch file"
16 @ exit /b 2 18 @ exit /b 2
17 ) 19 )
18 20
19 call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64 21 call %vcvarsall% amd64
20 22
21 set ORIGINALPATH=%PATH% 23 set ORIGINALPATH=%PATH%
22 set PATH=C:\Program Files (x86)\SMLNJ\bin;%QTDIR%\bin;%PATH% 24 set PATH=C:\Program Files (x86)\SMLNJ\bin;%QTDIR%\bin;%PATH%
23 25
24 cd %STARTPWD% 26 cd %STARTPWD%