comparison deploy/clean-build-and-package.bat @ 126:31435b4d9833

Build a 32-bit installer as well as 64-bit (on Windows). Requires splitting the resource file in two, otherwise the 32-bit compiler runs out of heap space!
author Chris Cannam
date Fri, 12 Jun 2020 15:13:59 +0100
parents 732a4bf233df
children 9209bf64c0c5
comparison
equal deleted inserted replaced
125:1f7260245c6d 126:31435b4d9833
11 11
12 @if "%YN%" == "Y" set YN=y 12 @if "%YN%" == "Y" set YN=y
13 @if "%YN%" neq "y" exit /b 3 13 @if "%YN%" neq "y" exit /b 3
14 14
15 @echo Proceeding 15 @echo Proceeding
16
17 @echo Building 32-bit
18 del /q /s out
19 del /q /s build_win32
20 call .\deploy\win64\build-32.bat sign
21 if %errorlevel% neq 0 exit /b %errorlevel%
22
23 @echo Building 64-bit
16 del /q /s out 24 del /q /s out
17 del /q /s build_win64 25 del /q /s build_win64
18 call .\deploy\win64\build-64.bat sign 26 call .\deploy\win64\build-64.bat sign
19 if %errorlevel% neq 0 exit /b %errorlevel% 27 if %errorlevel% neq 0 exit /b %errorlevel%
20 28
21 mkdir packages 29 mkdir packages
30 copy "build_win32\release\Vamp Plugin Pack Installer.exe" "packages\Vamp Plugin Pack Installer %VERSION% 32-bit.exe"
22 copy "build_win64\release\Vamp Plugin Pack Installer.exe" "packages\Vamp Plugin Pack Installer %VERSION%.exe" 31 copy "build_win64\release\Vamp Plugin Pack Installer.exe" "packages\Vamp Plugin Pack Installer %VERSION%.exe"
23 32
24 @echo( 33 @echo(
25 @echo Done 34 @echo Done