annotate deploy/clean-build-and-package.bat @ 113:732a4bf233df

Fixes for static Windows build. In particular, plugins (which are not static) need to be built with "dll" target instead of "plugin" target
author Chris Cannam
date Fri, 06 Mar 2020 12:11:00 +0000
parents 12bf881f9f9f
children 31435b4d9833
rev   line source
Chris@63 1 @rem Run this from within the top-level dir: deploy\clean-build-and-package
Chris@63 2 @echo on
Chris@63 3
Chris@63 4 @set /p VERSION=<version.h
Chris@63 5 @set VERSION=%VERSION:#define PACK_VERSION "=%
Chris@63 6 set VERSION=%VERSION:"=%
Chris@63 7
Chris@63 8 @echo(
Chris@63 9 @set YN=y
Chris@63 10 @set /p YN="Proceed to clean, rebuild, package, and sign version %VERSION% [Yn] ?"
Chris@63 11
Chris@63 12 @if "%YN%" == "Y" set YN=y
Chris@63 13 @if "%YN%" neq "y" exit /b 3
Chris@63 14
Chris@63 15 @echo Proceeding
Chris@113 16 del /q /s out
Chris@80 17 del /q /s build_win64
Chris@80 18 call .\deploy\win64\build-64.bat sign
Chris@63 19 if %errorlevel% neq 0 exit /b %errorlevel%
Chris@63 20
Chris@63 21 mkdir packages
Chris@80 22 copy "build_win64\release\Vamp Plugin Pack Installer.exe" "packages\Vamp Plugin Pack Installer %VERSION%.exe"
Chris@63 23
Chris@63 24 @echo(
Chris@63 25 @echo Done