SCsub 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #!/usr/bin/env python
  2. Import("env")
  3. env.servers_sources = []
  4. env.add_source_files(env.servers_sources, "audio_server.cpp")
  5. env.add_source_files(env.servers_sources, "camera_server.cpp")
  6. env.add_source_files(env.servers_sources, "display_server.cpp")
  7. env.add_source_files(env.servers_sources, "navigation_server_2d.cpp")
  8. env.add_source_files(env.servers_sources, "navigation_server_3d.cpp")
  9. env.add_source_files(env.servers_sources, "physics_server_2d.cpp")
  10. env.add_source_files(env.servers_sources, "physics_server_2d_wrap_mt.cpp")
  11. env.add_source_files(env.servers_sources, "register_server_types.cpp")
  12. env.add_source_files(env.servers_sources, "rendering_server.cpp")
  13. env.add_source_files(env.servers_sources, "text_server.cpp")
  14. SConscript("audio/SCsub")
  15. SConscript("camera/SCsub")
  16. SConscript("debugger/SCsub")
  17. SConscript("display/SCsub")
  18. SConscript("extensions/SCsub")
  19. SConscript("movie_writer/SCsub")
  20. SConscript("navigation/SCsub")
  21. SConscript("rendering/SCsub")
  22. SConscript("text/SCsub")
  23. SConscript("physics_2d/SCsub")
  24. if not env["disable_3d"]:
  25. SConscript("physics_3d/SCsub")
  26. env.add_source_files(env.servers_sources, "physics_server_3d.cpp")
  27. env.add_source_files(env.servers_sources, "physics_server_3d_wrap_mt.cpp")
  28. SConscript("xr/SCsub")
  29. env.add_source_files(env.servers_sources, "xr_server.cpp")
  30. lib = env.add_library("servers", env.servers_sources)
  31. env.Prepend(LIBS=[lib])