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.
2 parents 1c19d62 + e17c7bf commit 3f44e9bCopy full SHA for 3f44e9b
1 file changed
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