comparison deploy/win32/build.bat @ 676:cb4f7c3c01dd

Toward some CI bits
author Chris Cannam
date Thu, 06 Dec 2018 13:45:23 +0000
parents
children 21e03596dd93
comparison
equal deleted inserted replaced
675:8121a6f9abca 676:cb4f7c3c01dd
1 rem Run this from within the top-level project dir: deploy\win32\build.bat
2 rem To build from clean, delete the folder build_win32
3
4 set STARTPWD=%CD%
5
6 set QTDIR=C:\Qt\5.11.2\mingw53_32
7 if not exist %QTDIR% (
8 @ echo Could not find 32-bit Qt
9 @ exit /b 2
10 )
11
12 set ORIGINALPATH=%PATH%
13 set PATH=%PATH%;C:\Program Files (x86)\SMLNJ\bin;%QTDIR%\bin;C:\Qt\Tools\QtCreator\bin;C:\Qt\Tools\mingw530_32\bin
14
15 cd %STARTPWD%
16
17 mkdir build_win32
18 cd build_win32
19
20 qmake -spec win32-g++ -r ..\easyhg.pro
21 if %errorlevel% neq 0 exit /b %errorlevel%
22
23 mingw32-make
24 if %errorlevel% neq 0 exit /b %errorlevel%
25
26 set PATH=%ORIGINALPATH%