Updating libsodium - they finally made a release, though

I have been using their unreleased versions for a very
long time.

The release has radically reorganized the build process, probably
to support arm builds
This commit is contained in:
Cheng 2023-09-17 18:25:49 +10:00
parent 70100fbc61
commit 61aa3ff141
No known key found for this signature in database
GPG Key ID: 571C3A9C3B9E6FCA
2 changed files with 6 additions and 5 deletions

@ -1 +1 @@
Subproject commit 11d0a17dbbe3f484f2b214c022d244773f26b5ec Subproject commit 5bfb49a8e40afe7aa349dd469bd11d9d76c71930

View File

@ -2,8 +2,8 @@ echo on
call C:\"Program Files (x86)"\"Microsoft Visual Studio"\2022\BuildTools\VC\Auxiliary\Build\vcvarsamd64_x86.bat call C:\"Program Files (x86)"\"Microsoft Visual Studio"\2022\BuildTools\VC\Auxiliary\Build\vcvarsamd64_x86.bat
call C:\"Program Files"\"Microsoft Visual Studio"\2022\Community\VC\Auxiliary\Build\vcvars64.bat" call C:\"Program Files"\"Microsoft Visual Studio"\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
echo on echo on
cd libsodium cd libsodium/builds/msvc/vs2022
msbuild libsodium.vcxproj -p:Configuration=Release;Platform=x64;PlatformToolset=v143;WindowsTargetPlatformVersion=10.0 -m msbuild libsodium.sln -p:Configuration=StaticRelease;Platform=x64 -m
echo off echo off
IF %ERRORLEVEL% NEQ 0 ( IF %ERRORLEVEL% NEQ 0 (
cd .. cd ..
@ -11,7 +11,7 @@ IF %ERRORLEVEL% NEQ 0 (
GOTO:EOF GOTO:EOF
) )
echo on echo on
msbuild libsodium.vcxproj -p:Configuration=Debug;Platform=x64;PlatformToolset=v143;WindowsTargetPlatformVersion=10.0 -m msbuild libsodium.sln -p:Configuration=StaticDebug;Platform=x64 -m
echo off echo off
IF %ERRORLEVEL% NEQ 0 ( IF %ERRORLEVEL% NEQ 0 (
cd .. cd ..
@ -19,7 +19,8 @@ IF %ERRORLEVEL% NEQ 0 (
GOTO:EOF GOTO:EOF
) )
echo on echo on
cd ..\mpir\msvc\vs22 cd ../../../..
cd mpir\msvc\vs22
call msbuild.bat gc lib x64 Debug call msbuild.bat gc lib x64 Debug
echo off echo off
IF %ERRORLEVEL% NEQ 0 ( IF %ERRORLEVEL% NEQ 0 (