From 2a63dcb04f49fe9547590f769c5056ca0f984040 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 11 Sep 2023 13:08:46 +0200 Subject: [PATCH] MSVC: try building Windows/ARM64 libraries in buildbase.bat --- builds/msvc/build/buildbase.bat | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/builds/msvc/build/buildbase.bat b/builds/msvc/build/buildbase.bat index 93352732..d65a876a 100644 --- a/builds/msvc/build/buildbase.bat +++ b/builds/msvc/build/buildbase.bat @@ -93,6 +93,31 @@ ECHO Configuration=StaticRelease msbuild /m /v:n /p:Configuration=StaticRelease /p:Platform=x64 %solution% >> %log% IF errorlevel 1 GOTO error +@REM Build ARM64 packages only for Visual studio 19 and later +IF %version% == 16 ( + CALL !environment! x86_arm64 > nul + ECHO Platform=ARM64 + + ECHO Configuration=DynDebug + msbuild /m /v:n /p:Configuration=DynDebug /p:Platform=ARM64 %solution% >> %log% + IF errorlevel 1 GOTO error + ECHO Configuration=DynRelease + msbuild /m /v:n /p:Configuration=DynRelease /p:Platform=ARM64 %solution% >> %log% + IF errorlevel 1 GOTO error + ECHO Configuration=LtcgDebug + msbuild /m /v:n /p:Configuration=LtcgDebug /p:Platform=ARM64 %solution% >> %log% + IF errorlevel 1 GOTO error + ECHO Configuration=LtcgRelease + msbuild /m /v:n /p:Configuration=LtcgRelease /p:Platform=ARM64 %solution% >> %log% + IF errorlevel 1 GOTO error + ECHO Configuration=StaticDebug + msbuild /m /v:n /p:Configuration=StaticDebug /p:Platform=ARM64 %solution% >> %log% + IF errorlevel 1 GOTO error + ECHO Configuration=StaticRelease + msbuild /m /v:n /p:Configuration=StaticRelease /p:Platform=ARM64 %solution% >> %log% + IF errorlevel 1 GOTO error +) + ECHO Complete: %solution% GOTO end