1 2 3 4 5 6 7 8
#!/usr/bin/env python Import("env") if env["disable_3d"]: env.add_source_files(env.scene_sources, "node_3d.cpp") else: env.add_source_files(env.scene_sources, "*.cpp")