godot/platform/macos
Rémi Verschelde c2c659db32 SCons: Refactor LTO options with `lto=<none|thin|full>`
Adds support for LTO on macOS and Android. We don't have much experience
with LTO on these platforms so for now we keep it disabled by default
even when `production=yes` is set.

Similarly for iOS where we ship object files for the user to link in
Xcode so LTO makes builds extremely slow to link.

`production=yes` defaults to full LTO.
ThinLTO is much faster for LLVM-based compilers but seems to produce
bigger binaries (at least for the Web platform).
2022-09-08 10:00:02 +02:00
..
export Rename String `plus_file` to `path_join` 2022-08-29 19:38:13 -05:00
README.md Improve platform-specific READMEs to add useful links 2022-08-25 17:50:53 +02:00
SCsub [macOS] Handle accelerator and click events of the global menu items separately. 2022-09-01 08:13:56 +03:00
crash_handler_macos.h Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
crash_handler_macos.mm Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
detect.py SCons: Refactor LTO options with `lto=<none|thin|full>` 2022-09-08 10:00:02 +02:00
dir_access_macos.h Add override keywords to DirAccess derived classes 2022-08-02 16:39:44 +01:00
dir_access_macos.mm Rename String `plus_file` to `path_join` 2022-08-29 19:38:13 -05:00
display_server_macos.h Merge pull request #65026 from bruvzg/dark_mode 2022-09-02 13:54:46 +02:00
display_server_macos.mm Merge pull request #65026 from bruvzg/dark_mode 2022-09-02 13:54:46 +02:00
gl_manager_macos_legacy.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
gl_manager_macos_legacy.mm Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
godot_application.h Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
godot_application.mm Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
godot_application_delegate.h Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
godot_application_delegate.mm Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
godot_content_view.h Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
godot_content_view.mm Remove Signal connect binds 2022-07-29 16:26:13 +02:00
godot_main_macos.mm Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
godot_menu_delegate.h [macOS] Handle accelerator and click events of the global menu items separately. 2022-09-01 08:13:56 +03:00
godot_menu_delegate.mm [macOS] Simplify handling of menu accelerators, and send event to the focused window instead of main. 2022-09-02 13:56:27 +03:00
godot_menu_item.h [macOS] Handle accelerator and click events of the global menu items separately. 2022-09-01 08:13:56 +03:00
godot_menu_item.mm [macOS] Handle accelerator and click events of the global menu items separately. 2022-09-01 08:13:56 +03:00
godot_window.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
godot_window.mm Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
godot_window_delegate.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
godot_window_delegate.mm Remove Signal connect binds 2022-07-29 16:26:13 +02:00
joypad_macos.cpp Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
joypad_macos.h Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
key_mapping_macos.h Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
key_mapping_macos.mm Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
logo.png Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
macos_terminal_logger.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
macos_terminal_logger.mm Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
os_macos.h Remove unused force_quit variable from many OS abstractions 2022-08-27 13:41:53 +02:00
os_macos.mm Rename String `plus_file` to `path_join` 2022-08-29 19:38:13 -05:00
platform_config.h Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
platform_macos_builders.py Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
tts_macos.h Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00
tts_macos.mm Rename `range_lerp` to `remap` 2022-09-06 07:19:20 +02:00
vulkan_context_macos.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
vulkan_context_macos.mm Rename OSX to macOS and iPhoneOS to iOS. 2022-07-21 09:37:52 +03:00

README.md

macOS platform port

This folder contains the C++, Objective-C and Objective-C++ code for the macOS platform port.

See also misc/dist/macos folder for additional files used by this platform. misc/dist/macos_tools.app is an .app bundle template used for packaging the macOS editor, while misc/dist/macos_template.app is used for packaging macOS export templates.

Documentation