Compare commits

...

3 Commits

Author SHA1 Message Date
arcase6 00b7e79d64
Merge 1a4857cde6 into 3f44e9b404 2023-12-29 21:03:59 -05:00
David Snopek 3f44e9b404
Merge pull request #1339 from aaronfranke/detect-gdext
Allow detecting when building as a GDExtension
2023-12-29 14:14:35 -06:00
Aaron Franke e17c7bf530
Allow detecting when building as a GDExtension 2023-12-18 09:13:20 -06:00
1 changed files with 3 additions and 0 deletions

View File

@ -295,6 +295,9 @@ def generate(env):
if env["precision"] == "double":
env.Append(CPPDEFINES=["REAL_T_IS_DOUBLE"])
# Allow detecting when building as a GDExtension.
env.Append(CPPDEFINES=["GDEXTENSION"])
# Suffix
suffix = ".{}.{}".format(env["platform"], env["target"])
if env.dev_build: