comparison deploy/win/build-32.bat @ 342:c7f2b178d220 bqaudiostream

Add script to call 32- and 64-bit builds
author Chris Cannam
date Mon, 04 Feb 2019 09:04:01 +0000
parents deploy/win64/build-32.bat@14b635c1a14a
children 3c01ac72c943
comparison
equal deleted inserted replaced
341:f7c4978a6113 342:c7f2b178d220
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.3\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
42 set PATH=%ORIGINALPATH%