SCsub 561 B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/env python
  2. from misc.utility.scons_hints import *
  3. Import("env")
  4. env.scene_sources = []
  5. # Godot source files
  6. env.add_source_files(env.scene_sources, "*.cpp")
  7. # Chain load SCsubs
  8. SConscript("main/SCsub")
  9. SConscript("gui/SCsub")
  10. if not env["disable_3d"]:
  11. SConscript("3d/SCsub")
  12. SConscript("2d/SCsub")
  13. SConscript("animation/SCsub")
  14. SConscript("audio/SCsub")
  15. SConscript("resources/SCsub")
  16. SConscript("debugger/SCsub")
  17. SConscript("theme/SCsub")
  18. # Build it all as a library
  19. lib = env.add_library("scene", env.scene_sources)
  20. env.Prepend(LIBS=[lib])