SCsub 522 B

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