From ae6f43dc2c219fc6ba01d5a24f428da552f3d263 Mon Sep 17 00:00:00 2001 From: Spartan322 Date: Mon, 29 Sep 2025 16:58:22 -0400 Subject: [PATCH] Remove DEBUG_METHODS_ENABLED For godot-cpp this is already provided, this is otherwise never used. Fixes redefined define warnings. --- tools/targets.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/targets.py b/tools/targets.py index a8748f4..7786607 100644 --- a/tools/targets.py +++ b/tools/targets.py @@ -99,8 +99,6 @@ def generate(env): # DEBUG_ENABLED enables debugging *features* and debug-only code, which is intended # to give *users* extra debugging information for their game development. env.Append(CPPDEFINES=["DEBUG_ENABLED"]) - # In upstream Godot this is added in typedefs.h when DEBUG_ENABLED is set. - env.Append(CPPDEFINES=["DEBUG_METHODS_ENABLED"]) if env.dev_build: # DEV_ENABLED enables *engine developer* code which should only be compiled for those