mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
66d09a6b4c
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.
13 lines
435 B
Python
13 lines
435 B
Python
#!/usr/bin/env python
|
|
|
|
Import('env')
|
|
|
|
if env['disable_3d']:
|
|
env.add_source_files(env.scene_sources, "spatial.cpp")
|
|
env.add_source_files(env.scene_sources, "skeleton.cpp")
|
|
env.add_source_files(env.scene_sources, "particles.cpp")
|
|
env.add_source_files(env.scene_sources, "visual_instance.cpp")
|
|
env.add_source_files(env.scene_sources, "world_environment.cpp")
|
|
else:
|
|
env.add_source_files(env.scene_sources, "*.cpp")
|