SCsub 449 B

1234567891011121314151617181920212223
  1. #!/usr/bin/env python
  2. from misc.utility.scons_hints import *
  3. Import("env")
  4. # Thirdparty code
  5. thirdparty_obj = []
  6. env_thirdparty = env.Clone()
  7. env_thirdparty.disable_warnings()
  8. env.scene_sources += thirdparty_obj
  9. # Godot source files
  10. scene_obj = []
  11. env.add_source_files(scene_obj, "*.cpp")
  12. env.scene_sources += scene_obj
  13. # Needed to force rebuilding the scene files when the thirdparty code is updated.
  14. env.Depends(scene_obj, thirdparty_obj)