Files
2025-09-29 00:52:08 +02:00

35 lines
1.1 KiB
Batchfile
Executable File

REM
REM Builds a library as used by the game.
REM
@echo off
@echo.
@echo =========================================================================
@echo ===================== PROJECT GENERATOR 3 STARTED =======================
SET PROPS_EXE=%~dp0..\..\..\bin\PropertySheetViewer.exe
if not defined RS_TOOLSCONFIG (
@echo.
if NOT EXIST "%PROPS_EXE%" echo missing "%PROPS_EXE%" && exit /b 1
"%PROPS_EXE%" showenvironment || goto :Error
for /F "tokens=*" %%i in ('%PROPS_EXE% dumpenvironment') do set %%i
@echo.
)
call %RS_TOOLSROOT%\script\util\projGen9\sync.bat || goto :Error
@echo.
call %RS_TOOLSROOT%\script\util\projGen9\generate.bat %RS_TOOLSCONFIG%\projgen9\game.build %* || goto :Error
@echo.
@echo ===================== PROJECT GENERATOR 3 COMPLETE ======================
@echo =========================================================================
@echo.
exit /b 0
:Error
@echo ===================== PROJECT GENERATOR 3 FAILED ======================
@echo =========================================================================
@echo.
exit /b 1