You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-31 18:41:20 +00:00
Allow detecting when building as an engine module
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user