diff 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
line wrap: on
line diff
--- a/deploy/win64/build-64.bat	Tue Oct 22 17:13:50 2019 +0100
+++ b/deploy/win64/build-64.bat	Wed Oct 23 09:10:47 2019 +0100
@@ -5,18 +5,20 @@
 
 set STARTPWD=%CD%
 
-set QTDIR=C:\Qt\5.13.0\msvc2017_64
+set QTDIR=C:\Qt\5.13.1\msvc2017_64
 if not exist %QTDIR% (
-@   echo Could not find 64-bit Qt
+@   echo Could not find 64-bit Qt in %QTDIR%
 @   exit /b 2
 )
 
-if not exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" (
+set vcvarsall="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat"
+
+if not exist %vcvarsall% (
 @   echo "Could not find MSVC vars batch file"
 @   exit /b 2
 )
 
-call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64
+call %vcvarsall% amd64
 
 set ORIGINALPATH=%PATH%
 set PATH=C:\Program Files (x86)\SMLNJ\bin;%QTDIR%\bin;%PATH%