File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ CONFIGURATION="${1:-debug}"
66# Convert to lowercase for make
77CONFIG_LOWER=$( echo " $CONFIGURATION " | tr ' [:upper:]' ' [:lower:]' )
88
9- # Generate the projects
9+ # Generate project files
1010pushd " $( dirname " $0 " ) " > /dev/null
11- ./GenerateProjects .sh gmake
11+ ./RunPremake5 .sh
1212popd > /dev/null
1313
1414# Build the solution
Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ for arg in "$@"; do
1111done
1212
1313# Build Debug
14- " $SCRIPT_DIR /BuildAll .sh" debug
14+ " $SCRIPT_DIR /Build .sh" debug
1515if [ $? -ne 0 ]; then
1616 echo " Debug build failed. Exiting."
1717 exit $?
1818fi
1919
2020# Build Release
21- " $SCRIPT_DIR /BuildAll .sh" release
21+ " $SCRIPT_DIR /Build .sh" release
2222if [ $? -ne 0 ]; then
2323 echo " Release build failed. Exiting."
2424 exit $?
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ set "CONFIGURATION=%~1"
66
77:: Generate the projects
88pushd " %~dp0 "
9- call GenerateProjects vs2022 %CONFIGURATION%
9+ call .\RunPremake5.bat vs2022 %CONFIGURATION%
1010popd
1111
1212:: Initialize variables
Original file line number Diff line number Diff line change @@ -3,13 +3,13 @@ pushd "%~dp0"
33set NO_OPEN = false
44if " %1 " == " --no-open" set NO_OPEN = true
55
6- call .\BuildAll .bat Debug
6+ call .\Build .bat Debug
77if %ERRORLEVEL% neq 0 (
88 echo Debug build failed. Exiting.
99 exit /b %ERRORLEVEL%
1010)
1111
12- call .\BuildAll .bat Release
12+ call .\Build .bat Release
1313if %ERRORLEVEL% neq 0 (
1414 echo Release build failed. Exiting.
1515 exit /b %ERRORLEVEL%
@@ -19,7 +19,6 @@ if %ERRORLEVEL% neq 0 (
1919for /f " delims=" %%v in (..\..\VERSION.txt) do set version = %%v
2020set platform = win32_x64
2121
22-
2322:: Navigate to the release folder
2423pushd ..\..\Build\
2524
You can’t perform that action at this time.
0 commit comments