summaryrefslogtreecommitdiffstats
path: root/buildqt32.bat
diff options
context:
space:
mode:
authorJoerg Koenig <Joerg.Koenig@techsat.com>2019-05-11 20:56:15 (GMT)
committerJoerg Koenig <Joerg.Koenig@techsat.com>2019-05-11 20:56:15 (GMT)
commit1d7998afd255e715f0325e3c1027d3e8b682477c (patch)
treec5e383cc10a55cc7f76e4ebaf5f9dbad0e61d29c /buildqt32.bat
parent66ad746c9bb216e9022c7f3d311829799a7243c1 (diff)
downloadQt-1d7998afd255e715f0325e3c1027d3e8b682477c.zip
Qt-1d7998afd255e715f0325e3c1027d3e8b682477c.tar.gz
Qt-1d7998afd255e715f0325e3c1027d3e8b682477c.tar.bz2
Updated Build env
Change-Id: Iffff2fddf4309605bf9a1188d582b9f8aaed78bc
Diffstat (limited to 'buildqt32.bat')
-rwxr-xr-xbuildqt32.bat16
1 files changed, 12 insertions, 4 deletions
diff --git a/buildqt32.bat b/buildqt32.bat
index 7f975cd..4fcc5d3 100755
--- a/buildqt32.bat
+++ b/buildqt32.bat
@@ -1,9 +1,17 @@
-rem @echo off
+@echo off
SET BASEDIR=%~dp0
-SET SDKDIR=z:\VS2019BT\
-SET PERLDIR=z:\Perl64\
+if not defined SDKDIR (
+ echo SDKDIR is not defined.
+ exit /b 1
+)
+if not defined PERLDIR (
+ echo SDKDIR is not defined.
+ exit /b 1
+)
+rem SET SDKDIR=z:\VS2019BT\
+rem SET PERLDIR=z:\Perl64\
SET QT_VERSION=5.12
SET QT_RELEASE=3
@@ -61,4 +69,4 @@ call nmake
call nmake install
cd %PREFIX%
%BASEDIR%wintools\7za.exe a -tzip %BASEDIR%\qt-%QT_VERSION%-%INST_ARCH%.zip .\*
-cd %BASEDIR% \ No newline at end of file
+cd %BASEDIR%