comparison deploy/win32/build-32.bat @ 2206:252c7c8a1a37 rubberband-static

Merge from default branch
author Chris Cannam
date Thu, 31 Jan 2019 10:32:45 +0000
parents 3158bb4e2ce9
children 7d3a15a75006
comparison
equal deleted inserted replaced
2129:02f15fb8ec68 2206:252c7c8a1a37
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.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 call .\repoint install
18 if %errorlevel% neq 0 exit /b %errorlevel%
19
20 sv-dependency-builds\win32-mingw\bin\capnp -Isv-dependency-builds/win32-mingw/include compile --src-prefix=piper/capnp -osv-dependency-builds/win32-mingw/bin/capnpc-c++:piper-vamp-cpp/vamp-capnp piper/capnp/piper.capnp
21 if %errorlevel% neq 0 exit /b %errorlevel%
22
23 mkdir build_win32
24 cd build_win32
25
26 qmake -spec win32-g++ -r ..\sonic-visualiser.pro
27 if %errorlevel% neq 0 exit /b %errorlevel%
28
29 mingw32-make
30 if %errorlevel% neq 0 exit /b %errorlevel%
31
32 copy .\checker\release\vamp-plugin-load-checker.exe .\release
33
34 copy %QTDIR%\bin\Qt5Core.dll .\release
35 copy %QTDIR%\bin\Qt5Gui.dll .\release
36 copy %QTDIR%\bin\Qt5Widgets.dll .\release
37 copy %QTDIR%\bin\Qt5Network.dll .\release
38 copy %QTDIR%\bin\Qt5Xml.dll .\release
39 copy %QTDIR%\bin\Qt5Svg.dll .\release
40 copy %QTDIR%\bin\Qt5Test.dll .\release
41 copy %QTDIR%\bin\libgcc_s_dw2-1.dll .\release
42 copy %QTDIR%\bin\"libstdc++-6.dll" .\release
43 copy %QTDIR%\bin\libwinpthread-1.dll .\release
44 copy %QTDIR%\plugins\platforms\qminimal.dll .\release
45 copy %QTDIR%\plugins\platforms\qwindows.dll .\release
46 copy %QTDIR%\plugins\styles\qwindowsvistastyle.dll .\release
47
48 rem some of these expect to be run from the project root
49 cd ..
50 build_win32\release\test-svcore-base
51 if %errorlevel% neq 0 exit /b %errorlevel%
52 build_win32\release\test-svcore-system
53 if %errorlevel% neq 0 exit /b %errorlevel%
54 build_win32\release\test-svcore-data-fileio
55 if %errorlevel% neq 0 exit /b %errorlevel%
56 build_win32\release\test-svcore-data-model
57 if %errorlevel% neq 0 exit /b %errorlevel%
58
59 set PATH=%ORIGINALPATH%