Chris@1839: rem Run this from within the top-level SV dir: deploy\win64\build-32.bat Chris@1839: rem To build from clean, delete the folder build_win32 Chris@1827: Chris@1827: set STARTPWD=%CD% Chris@1827: Chris@2103: set QTDIR=C:\Qt\5.11.2\mingw53_32 Chris@1839: if not exist %QTDIR% ( Chris@1839: @ echo Could not find 32-bit Qt Chris@1841: @ exit /b 2 Chris@1827: ) Chris@1827: Chris@1839: set ORIGINALPATH=%PATH% Chris@1839: set PATH=%PATH%;C:\Program Files (x86)\SMLNJ\bin;%QTDIR%\bin;C:\Qt\Tools\QtCreator\bin;C:\Qt\Tools\mingw530_32\bin Chris@1827: Chris@1827: cd %STARTPWD% Chris@1827: Chris@1827: call .\repoint install Chris@1839: if %errorlevel% neq 0 exit /b %errorlevel% Chris@1827: Chris@2045: 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 Chris@1839: if %errorlevel% neq 0 exit /b %errorlevel% Chris@1827: Chris@1827: mkdir build_win32 Chris@1827: cd build_win32 Chris@1827: Chris@1846: qmake -spec win32-g++ -r ..\sonic-visualiser.pro Chris@1839: if %errorlevel% neq 0 exit /b %errorlevel% Chris@1827: Chris@1847: mingw32-make Chris@1839: if %errorlevel% neq 0 exit /b %errorlevel% Chris@1827: Chris@1827: copy .\checker\release\vamp-plugin-load-checker.exe .\release Chris@1827: Chris@1827: copy %QTDIR%\bin\Qt5Core.dll .\release Chris@1827: copy %QTDIR%\bin\Qt5Gui.dll .\release Chris@1827: copy %QTDIR%\bin\Qt5Widgets.dll .\release Chris@1827: copy %QTDIR%\bin\Qt5Network.dll .\release Chris@1827: copy %QTDIR%\bin\Qt5Xml.dll .\release Chris@1827: copy %QTDIR%\bin\Qt5Svg.dll .\release Chris@1852: copy %QTDIR%\bin\Qt5Test.dll .\release Chris@1827: copy %QTDIR%\bin\libgcc_s_dw2-1.dll .\release Chris@1827: copy %QTDIR%\bin\"libstdc++-6.dll" .\release Chris@1827: copy %QTDIR%\bin\libwinpthread-1.dll .\release Chris@1827: copy %QTDIR%\plugins\platforms\qminimal.dll .\release Chris@1827: copy %QTDIR%\plugins\platforms\qwindows.dll .\release Chris@1891: copy %QTDIR%\plugins\styles\qwindowsvistastyle.dll .\release Chris@1827: Chris@1982: rem some of these expect to be run from the project root Chris@1982: cd .. Chris@1982: build_win32\release\test-svcore-base Chris@2186: if %errorlevel% neq 0 exit /b %errorlevel% Chris@1982: build_win32\release\test-svcore-system Chris@2186: if %errorlevel% neq 0 exit /b %errorlevel% Chris@1982: build_win32\release\test-svcore-data-fileio Chris@2186: if %errorlevel% neq 0 exit /b %errorlevel% Chris@1982: build_win32\release\test-svcore-data-model Chris@2186: if %errorlevel% neq 0 exit /b %errorlevel% Chris@1852: Chris@1839: set PATH=%ORIGINALPATH%