SCsub 727 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #!/usr/bin/env python
  2. Import('env')
  3. env.scene_sources = []
  4. # Thirdparty code
  5. thirdparty_dir = "#thirdparty/misc/"
  6. thirdparty_sources = [
  7. # C sources
  8. "mikktspace.c",
  9. ]
  10. thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources]
  11. env.add_source_files(env.scene_sources, thirdparty_sources)
  12. # Godot's own sources
  13. env.add_source_files(env.scene_sources, "*.cpp")
  14. # Chain load SCsubs
  15. SConscript('main/SCsub')
  16. SConscript('gui/SCsub')
  17. SConscript('3d/SCsub')
  18. SConscript('2d/SCsub')
  19. SConscript('animation/SCsub')
  20. SConscript('audio/SCsub')
  21. SConscript('resources/SCsub')
  22. SConscript('io/SCsub')
  23. # Build it all as a library
  24. lib = env.add_library("scene", env.scene_sources)
  25. env.Prepend(LIBS=[lib])
  26. Export('env')