1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 01:55:02 -07:00

Fix buildbase.bat for ARM64:

- update version check to use **greater-than-or-equal**, i.e. to include VS 2019 **and** 2022 (or later versions)
- select the `ARM64` environment (`x86_arm64` is not valid)
This commit is contained in:
nil4 2024-12-04 13:37:19 +01:00 committed by Frank Denis
parent 584f61dcd4
commit 39d280b2be

View File

@ -93,9 +93,9 @@ 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
@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