Chris@328: rem Run this from within the top-level SV dir: deploy\win64\build-32.bat Chris@328: rem To build from clean, delete the folder build_win32 Chris@328: Chris@328: set STARTPWD=%CD% Chris@328: Chris@347: set QTDIR=C:\Qt\5.11.3\mingw53_32 Chris@328: if not exist %QTDIR% ( Chris@328: @ echo Could not find 32-bit Qt Chris@328: @ exit /b 2 Chris@328: ) Chris@328: Chris@328: set ORIGINALPATH=%PATH% Chris@328: set PATH=%PATH%;C:\Program Files (x86)\SMLNJ\bin;%QTDIR%\bin;C:\Qt\Tools\QtCreator\bin;C:\Qt\Tools\mingw530_32\bin Chris@328: Chris@328: cd %STARTPWD% Chris@328: Chris@328: call .\repoint install Chris@328: if %errorlevel% neq 0 exit /b %errorlevel% Chris@328: Chris@328: mkdir build_win32 Chris@328: cd build_win32 Chris@328: Chris@328: qmake -spec win32-g++ -r ..\sonic-annotator.pro Chris@328: if %errorlevel% neq 0 exit /b %errorlevel% Chris@328: Chris@328: mingw32-make Chris@328: if %errorlevel% neq 0 exit /b %errorlevel% Chris@328: Chris@328: copy %QTDIR%\bin\Qt5Core.dll .\release Chris@328: copy %QTDIR%\bin\Qt5Network.dll .\release Chris@328: copy %QTDIR%\bin\Qt5Xml.dll .\release Chris@328: copy %QTDIR%\bin\Qt5Test.dll .\release Chris@328: copy %QTDIR%\bin\libgcc_s_dw2-1.dll .\release Chris@328: copy %QTDIR%\bin\"libstdc++-6.dll" .\release Chris@328: copy %QTDIR%\bin\libwinpthread-1.dll .\release Chris@328: copy %QTDIR%\plugins\platforms\qminimal.dll .\release Chris@328: copy %QTDIR%\plugins\platforms\qwindows.dll .\release Chris@328: Chris@328: .\release\test-svcore-base Chris@328: .\release\test-svcore-system Chris@328: Chris@328: set PATH=%ORIGINALPATH%