SCsub 892 B

1234567891011121314151617181920212223242526272829303132333435
  1. #!/usr/bin/env python
  2. Import("env")
  3. from platform_methods import run_in_subprocess
  4. import platform_macos_builders
  5. files = [
  6. "os_macos.mm",
  7. "godot_application.mm",
  8. "godot_application_delegate.mm",
  9. "crash_handler_macos.mm",
  10. "macos_terminal_logger.mm",
  11. "display_server_macos.mm",
  12. "godot_button_view.mm",
  13. "godot_content_view.mm",
  14. "godot_window_delegate.mm",
  15. "godot_window.mm",
  16. "key_mapping_macos.mm",
  17. "godot_main_macos.mm",
  18. "godot_menu_delegate.mm",
  19. "godot_menu_item.mm",
  20. "dir_access_macos.mm",
  21. "tts_macos.mm",
  22. "joypad_macos.cpp",
  23. "vulkan_context_macos.mm",
  24. "gl_manager_macos_angle.mm",
  25. "gl_manager_macos_legacy.mm",
  26. ]
  27. prog = env.add_program("#bin/godot", files)
  28. if env["debug_symbols"] and env["separate_debug_symbols"]:
  29. env.AddPostAction(prog, run_in_subprocess(platform_macos_builders.make_debug_macos))