You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
SCons: Fix uses of [].append instead of env.add_source_files()
Also added support for SCons project-absolute paths (starting with #) and warning about duplicates in add_source_files(), and fixed default_controller_mappings.gen.cpp being included twice after first build due to *.cpp globbing. Part of #30270.
This commit is contained in:
@@ -6,9 +6,9 @@ env_modules = env.Clone()
|
||||
|
||||
Export('env_modules')
|
||||
|
||||
env.modules_sources = [
|
||||
"register_module_types.gen.cpp",
|
||||
]
|
||||
env.modules_sources = []
|
||||
|
||||
env_modules.add_source_files(env.modules_sources, "register_module_types.gen.cpp")
|
||||
|
||||
for x in env.module_list:
|
||||
if (x in env.disabled_modules):
|
||||
|
||||
Reference in New Issue
Block a user