File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
GeneralsMD/Code/GameEngine/Include/Common Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 4747
4848#pragma once
4949
50- #define DONT_ALLOW_DEBUG_CHEATS_IN_RELEASE // /< Take of the DONT to get cheats back in to release
51-
5250// #define _CAMPEA_DEMO
5351
5452// ----------------------------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ set_property(CACHE RTS_DEBUG_STACKTRACE PROPERTY STRINGS DEFAULT ON OFF)
1010set (RTS_DEBUG_PROFILE "DEFAULT" CACHE STRING "Enables debug profiling. When DEFAULT, this option is enabled with DEBUG or INTERNAL" )
1111set_property (CACHE RTS_DEBUG_PROFILE PROPERTY STRINGS DEFAULT ON OFF )
1212
13+ set (RTS_DEBUG_CHEATS "DEFAULT" CACHE STRING "Enables debug cheats in release builds. When DEFAULT, this option is enabled with DEBUG or INTERNAL" )
14+ set_property (CACHE RTS_DEBUG_CHEATS PROPERTY STRINGS DEFAULT ON OFF )
15+
1316option (RTS_DEBUG_INCLUDE_DEBUG_LOG_IN_CRC_LOG "Includes normal debug log in crc log" OFF )
1417option (RTS_DEBUG_MULTI_INSTANCE "Enables multi client instance support" OFF )
1518
@@ -34,6 +37,7 @@ define_debug_option(RTS_DEBUG_LOGGING DEBUG_LOGGING DISABLE_DEBUG_LOGGING
3437define_debug_option(RTS_DEBUG_CRASHING DEBUG_CRASHING DISABLE_DEBUG_CRASHING DebugCrashing "Build with Debug Crashing" )
3538define_debug_option(RTS_DEBUG_STACKTRACE DEBUG_STACKTRACE DISABLE_DEBUG_STACKTRACE DebugStacktrace "Build with Debug Stacktracing" )
3639define_debug_option(RTS_DEBUG_PROFILE DEBUG_PROFILE DISABLE_DEBUG_PROFILE DebugProfile "Build with Debug Profiling" )
40+ define_debug_option(RTS_DEBUG_CHEATS _ALLOW_DEBUG_CHEATS_IN_RELEASE DISABLE_DEBUG_CHEATS_IN_RELEASE DebugCheats "Build with Debug Cheats" )
3741
3842add_feature_info(DebugIncludeDebugLogInCrcLog RTS_DEBUG_INCLUDE_DEBUG_LOG_IN_CRC_LOG "Build with Debug Logging in CRC log" )
3943add_feature_info(DebugMultiInstance RTS_DEBUG_MULTI_INSTANCE "Build with Multi Client Instance support" )
You can’t perform that action at this time.
0 commit comments