virtualx-engine/scene/3d/SCsub
Rémi Verschelde 66d09a6b4c 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.
2019-07-22 15:08:32 +02:00

12 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")