Skip to content

Commit

Permalink
msvc/build/buildbase.bat: build for ARM64
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Dec 10, 2024
1 parent 47448b5 commit 6272f21
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions builds/msvc/build/buildbase.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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 2019 and later
IF %version% GEQ 16 (
CALL !environment! 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

Expand Down

0 comments on commit 6272f21

Please sign in to comment.