We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48afa82 commit e17c7bfCopy full SHA for e17c7bf
tools/godotcpp.py
@@ -295,6 +295,9 @@ def generate(env):
295
if env["precision"] == "double":
296
env.Append(CPPDEFINES=["REAL_T_IS_DOUBLE"])
297
298
+ # Allow detecting when building as a GDExtension.
299
+ env.Append(CPPDEFINES=["GDEXTENSION"])
300
+
301
# Suffix
302
suffix = ".{}.{}".format(env["platform"], env["target"])
303
if env.dev_build:
0 commit comments