comparison deploy/win64/build-32.bat @ 328:e16e4cda23b9

Update build system to follow current SV
author Chris Cannam
date Mon, 11 Jun 2018 19:29:14 +0100
parents
children 14b635c1a14a
comparison
equal deleted inserted replaced
327:0e866ef12d87 328:e16e4cda23b9
1 rem Run this from within the top-level SV dir: deploy\win64\build-32.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.0\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 call .\repoint install
18 if %errorlevel% neq 0 exit /b %errorlevel%
19
20 mkdir build_win32
21 cd build_win32
22
23 qmake -spec win32-g++ -r ..\sonic-annotator.pro
24 if %errorlevel% neq 0 exit /b %errorlevel%
25
26 mingw32-make
27 if %errorlevel% neq 0 exit /b %errorlevel%
28
29 copy %QTDIR%\bin\Qt5Core.dll .\release
30 copy %QTDIR%\bin\Qt5Network.dll .\release
31 copy %QTDIR%\bin\Qt5Xml.dll .\release
32 copy %QTDIR%\bin\Qt5Test.dll .\release
33 copy %QTDIR%\bin\libgcc_s_dw2-1.dll .\release
34 copy %QTDIR%\bin\"libstdc++-6.dll" .\release
35 copy %QTDIR%\bin\libwinpthread-1.dll .\release
36 copy %QTDIR%\plugins\platforms\qminimal.dll .\release
37 copy %QTDIR%\plugins\platforms\qwindows.dll .\release
38
39 .\release\test-svcore-base
40 .\release\test-svcore-system
41 .\release\test-svcore-data-fileio
42
43 set PATH=%ORIGINALPATH%