Skip to content

Commit 98f46f6

Browse files
authored
Merge pull request #516 from twpol/feature/unstable-debug
feat: Build Unstable Version as debug
2 parents 325d2e2 + 1498583 commit 98f46f6

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)