build all script

This commit is contained in:
Detanup01 2024-05-14 20:49:39 +02:00 committed by otavepto
parent 71a1e77fe7
commit 93eb6b4d31
2 changed files with 25 additions and 12 deletions

View File

@ -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 ..

View File

@ -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
@ -33,11 +53,3 @@ if %_exit% equ 0 (
) else (
goto :end_script_with_err
)
exit /b
:: exit with error
:end_script_with_err
popd
endlocal & (
exit /b 1
)