SCsub 567 B

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