SCsub 1.3 KB

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