diff options
author | Wilhelm Berg <wb@BergWerk-GIS.at> | 2018-08-08 17:31:09 +0200 |
---|---|---|
committer | Wilhelm Berg <wb@BergWerk-GIS.at> | 2018-08-08 17:31:09 +0200 |
commit | 2570df515b89682ca5894a6d2fa1f5507118b097 (patch) | |
tree | 1dbb6dd7dd93f5de76f828ddc22e1f09b92ddd87 /scripts/windows-build-local.bat | |
parent | 0ec4a84c310f4bf95265939698d71f267af5802e (diff) | |
download | qtlocation-mapboxgl-2570df515b89682ca5894a6d2fa1f5507118b097.tar.gz |
[wip] Visual Studio 2017 build scripts
Diffstat (limited to 'scripts/windows-build-local.bat')
-rw-r--r-- | scripts/windows-build-local.bat | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/scripts/windows-build-local.bat b/scripts/windows-build-local.bat new file mode 100644 index 0000000000..09e3938a2a --- /dev/null +++ b/scripts/windows-build-local.bat @@ -0,0 +1,29 @@ +@ECHO OFF +SETLOCAL +SET EL=0 + +REM this file is supposed to be called from the root of the repository +REM otherwise path references will not work + +IF NOT EXIST C:\Qt\5.11.1\msvc2017_64\lib SET EL=1 && ECHO QT not found && GOTO ERROR +SET PATH=C:\Program Files\7-Zip;%PATH% + +SET APPVEYOR_BUILD_FOLDER=%CD% +SET CMAKE_VERSION=cmake-3.10.1-win64-x64 +SET CMAKE_URL=https://cmake.org/files/v3.10/%CMAKE_VERSION%.zip + +CALL scripts\windows-build-appveyor.bat +IF %ERRORLEVEL% NEQ 0 GOTO ERROR + +GOTO DONE + +:ERROR +SET EL=%ERRORLEVEL% +ECHO ~~~~~~~~~~~~~~~~~~~ ERROR %~f0 ~~~~~~~~~~~~~~~~~~~ +ECHO ERRORLEVEL^: %EL% + +:DONE + +ECHO ~~~~~~~~~~~~~~~~~~~ DONE %~f0 ~~~~~~~~~~~~~~~~~~~ + +EXIT /b %EL% |