Support 32bit JVM on Windows 32bit builds

This commit is contained in:
FriwiDev
2021-10-26 15:17:35 +02:00
parent 6317b856fc
commit d4394018b1
4 changed files with 22 additions and 5 deletions

View File

@@ -23,14 +23,14 @@ else (call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Au
:: Perform build
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=%BUILD_TYPE% ..
ninja
ninja -j4
:: Compile java classes
cd ../tools
if "%TARGETARCH%"=="386" (compile.bat win32) else (compile.bat win64)
if "%TARGETARCH%"=="386" (call compile.bat win32) else (call compile.bat win64)
:: Create distribution
if "%TARGETARCH%"=="386" (make_distrib.bat win32) else (make_distrib.bat win64)
if "%TARGETARCH%"=="386" (call make_distrib.bat win32) else (call make_distrib.bat win64)
:: Zip results to C:\out
if "%TARGETARCH%"=="386" (cd ../binary_distrib/win32) else (cd ../binary_distrib/win64)