Skip to content

Commit

Permalink
feat: Build Unstable Version as debug
Browse files Browse the repository at this point in the history
  • Loading branch information
twpol committed Oct 10, 2021
1 parent fab59f5 commit 1498583
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Build.cmd
Expand Up @@ -91,7 +91,9 @@ CALL :recreate "Program" || GOTO :error

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

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

0 comments on commit 1498583

Please sign in to comment.