Skip to content

Conversation

@bobtista
Copy link

@bobtista bobtista commented Nov 13, 2025

Summary

Implements a CMake option RTS_DEBUG_CHEATS to control debug cheat availability in release builds, replacing the manual DONT_ALLOW_DEBUG_CHEATS_IN_RELEASE define in GameCommon.h.

Usage

 # Enable debug cheats in release builds cmake -DRTS_DEBUG_CHEATS=ON .. # Explicitly disable in all builds cmake -DRTS_DEBUG_CHEATS=OFF .. # Use default behavior (auto-enable in DEBUG builds only) cmake -DRTS_DEBUG_CHEATS=DEFAULT .. 
@bobtista bobtista marked this pull request as ready for review December 3, 2025 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant