Skip to content

Commit 1498583

Browse files
committed
feat: Build Unstable Version as debug
1 parent fab59f5 commit 1498583

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Build.cmd

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ CALL :recreate "Program" || GOTO :error
9191

9292
REM Build main program.
9393
REM Disable warning CS1591 "Missing XML comment for publicly visible type or member".
94-
MSBuild Source\ORTS.sln /t:Clean;Build /p:Configuration=Release /p:NoWarn=1591 || GOTO :error
94+
SET BuildConfiguration=Release
95+
IF "%Mode%" == "Unstable" SET BuildConfiguration=Debug
96+
MSBuild Source\ORTS.sln /t:Clean;Build /p:Configuration=%BuildConfiguration% /p:NoWarn=1591 || GOTO :error
9597

9698
REM Build contributed Timetable Editor.
9799
PUSHD Source\Contrib\TimetableEditor && CALL Build.cmd && POPD || GOTO :error

0 commit comments

Comments
 (0)