1
0
mirror of https://github.com/godotengine/godot synced 2024-07-05 16:38:35 +00:00

Allow detecting when building as an engine module

This commit is contained in:
Aaron Franke 2023-12-17 13:09:00 -06:00
parent 89cc635c05
commit e2b3c588e1
No known key found for this signature in database
GPG Key ID: 40A1750B977E56BF

View File

@ -7,6 +7,9 @@ Import("env")
env_modules = env.Clone()
# Allow modules to detect if they are being built as a module.
env_modules.Append(CPPDEFINES=["GODOT_MODULE"])
Export("env_modules")
# Header with MODULE_*_ENABLED defines.