From 93eb6b4d31d5abda4897f0b4bd934e6fa44c4db7 Mon Sep 17 00:00:00 2001 From: Detanup01 <91248446+Detanup01@users.noreply.github.com> Date: Tue, 14 May 2024 20:49:39 +0200 Subject: [PATCH] build all script --- build_linux_premake.sh | 9 +++++---- build_win_premake.bat | 28 ++++++++++++++++++++-------- 2 files changed, 25 insertions(+), 12 deletions(-) diff --git a/build_linux_premake.sh b/build_linux_premake.sh index b623a14d..c3a5bada 100644 --- a/build_linux_premake.sh +++ b/build_linux_premake.sh @@ -15,9 +15,10 @@ chmod +777 premake5 # do we really need this? cd GBE_Build # you can select individual or all -# individual -#make config=debug_x32 -# all -make +# make config=debug_x32 +make config=debug_x32 && make config=debug_x64 +make config=release_x32 && make config=release_x64 +make config=experimentaldebug_x32 && make config=experimentaldebug_x64 +make config=experimentalrelease_x32 && make config=experimentalrelease_x64 cd .. \ No newline at end of file diff --git a/build_win_premake.bat b/build_win_premake.bat index fc7f011b..17f3f41e 100644 --- a/build_win_premake.bat +++ b/build_win_premake.bat @@ -22,6 +22,26 @@ if "%my_vs_path%"=="" ( ) :: Set configuration and platform here :) +:: manual config for all remove later +call %my_vs_path% GBE_Build\GBE.sln /p:Configuration=Debug /p:Platform=x64 -v:n +call %my_vs_path% GBE_Build\GBE.sln /p:Configuration=Debug /p:Platform=Win32 -v:n +call %my_vs_path% GBE_Build\GBE.sln /p:Configuration=Release /p:Platform=x64 -v:n +call %my_vs_path% GBE_Build\GBE.sln /p:Configuration=Release /p:Platform=Win32 -v:n +call %my_vs_path% GBE_Build\GBE.sln /p:Configuration=ExperimentalDebug /p:Platform=x64 -v:n +call %my_vs_path% GBE_Build\GBE.sln /p:Configuration=ExperimentalDebug /p:Platform=Win32 -v:n +call %my_vs_path% GBE_Build\GBE.sln /p:Configuration=ExperimentalRelease /p:Platform=x64 -v:n +call %my_vs_path% GBE_Build\GBE.sln /p:Configuration=ExperimentalRelease /p:Platform=Win32 -v:n + +exit /b + +:: exit with error +:end_script_with_err +popd +endlocal & ( + exit /b 1 +) + + :: -v:n make it so we can actually see what commands it runs call %my_vs_path% GBE_Build\GBE.sln /p:Configuration=ExperimentalDebug /p:Platform=x64 -v:n ::call %my_vs_path% GBE_Build\GBE.sln @@ -32,12 +52,4 @@ if %_exit% equ 0 ( ::call "%signer_tool%" ) else ( goto :end_script_with_err -) -exit /b - -:: exit with error -:end_script_with_err -popd -endlocal & ( - exit /b 1 ) \ No newline at end of file