diff options
Diffstat (limited to 'buildqt32.bat')
-rwxr-xr-x | buildqt32.bat | 16 |
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%
|