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