Mercurial > hg > sonic-annotator
annotate deploy/win/build-both.bat @ 348:b5003e1acc9e
Subrepo update
author | Chris Cannam |
---|---|
date | Wed, 14 Aug 2019 11:58:42 +0100 |
parents | c7f2b178d220 |
children | a2c5ca6b8785 |
rev | line source |
---|---|
Chris@342 | 1 rem Run this from within the top-level dir: deploy\win\build-and-package.bat |
Chris@342 | 2 |
Chris@342 | 3 set STARTPWD=%CD% |
Chris@342 | 4 |
Chris@342 | 5 if not exist "C:\Program Files (x86)\SMLNJ\bin" ( |
Chris@342 | 6 @ echo Could not find SML/NJ, required for Repoint |
Chris@342 | 7 @ exit /b 2 |
Chris@342 | 8 ) |
Chris@342 | 9 |
Chris@342 | 10 set ORIGINALPATH=%PATH% |
Chris@342 | 11 set PATH=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin;%PATH% |
Chris@342 | 12 |
Chris@342 | 13 @echo "" |
Chris@342 | 14 @echo Rebuilding 32-bit |
Chris@342 | 15 |
Chris@342 | 16 cd %STARTPWD% |
Chris@342 | 17 del /q /s build_win32 |
Chris@342 | 18 call .\deploy\win\build-32.bat |
Chris@342 | 19 if %errorlevel% neq 0 exit /b %errorlevel% |
Chris@342 | 20 |
Chris@342 | 21 @echo Rebuilding 64-bit |
Chris@342 | 22 |
Chris@342 | 23 cd %STARTPWD% |
Chris@342 | 24 del /q /s build_win64 |
Chris@342 | 25 call .\deploy\win\build-64.bat |
Chris@342 | 26 if %errorlevel% neq 0 exit /b %errorlevel% |
Chris@342 | 27 |
Chris@342 | 28 set PATH=%ORIGINALPATH% |
Chris@342 | 29 |
Chris@342 | 30 @echo Done |
Chris@342 | 31 |