comparison deploy/win/build-64.bat @ 355:0b3c180d5e08

Update builds for VC2019 etc
author Chris Cannam
date Wed, 23 Oct 2019 09:52:21 +0100
parents 228afe7eb408
children d9d509d29fa1
comparison
equal deleted inserted replaced
354:68305800139d 355:0b3c180d5e08
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=%PATH%;C:\Program Files (x86)\SMLNJ\bin;%QTDIR%\bin 24 set PATH=%PATH%;C:\Program Files (x86)\SMLNJ\bin;%QTDIR%\bin
23 25
24 cd %STARTPWD% 26 cd %STARTPWD%