annotate deploy/win/build-both.bat @ 366:9f7297c47850

Update plugin handling to follow the smart pointers used in the svcore library. This is awkward in our context, and the outcome isn't a very nice one - but it does look as if we had the potential for use-after-free in cases where a plugin was both used "bare" and wrapped in an auto-deleting adapter; those should be fixed now
author Chris Cannam
date Thu, 23 Apr 2020 15:51:55 +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