comparison deploy/win/build-both.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
children a2c5ca6b8785
comparison
equal deleted inserted replaced
341:f7c4978a6113 342:c7f2b178d220
1 rem Run this from within the top-level dir: deploy\win\build-and-package.bat
2
3 set STARTPWD=%CD%
4
5 if not exist "C:\Program Files (x86)\SMLNJ\bin" (
6 @ echo Could not find SML/NJ, required for Repoint
7 @ exit /b 2
8 )
9
10 set ORIGINALPATH=%PATH%
11 set PATH=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin;%PATH%
12
13 @echo ""
14 @echo Rebuilding 32-bit
15
16 cd %STARTPWD%
17 del /q /s build_win32
18 call .\deploy\win\build-32.bat
19 if %errorlevel% neq 0 exit /b %errorlevel%
20
21 @echo Rebuilding 64-bit
22
23 cd %STARTPWD%
24 del /q /s build_win64
25 call .\deploy\win\build-64.bat
26 if %errorlevel% neq 0 exit /b %errorlevel%
27
28 set PATH=%ORIGINALPATH%
29
30 @echo Done
31