c2c659db32
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). |
||
---|---|---|
.. | ||
export | ||
crash_handler_macos.h | ||
crash_handler_macos.mm | ||
detect.py | ||
dir_access_macos.h | ||
dir_access_macos.mm | ||
display_server_macos.h | ||
display_server_macos.mm | ||
gl_manager_macos_legacy.h | ||
gl_manager_macos_legacy.mm | ||
godot_application_delegate.h | ||
godot_application_delegate.mm | ||
godot_application.h | ||
godot_application.mm | ||
godot_content_view.h | ||
godot_content_view.mm | ||
godot_main_macos.mm | ||
godot_menu_delegate.h | ||
godot_menu_delegate.mm | ||
godot_menu_item.h | ||
godot_menu_item.mm | ||
godot_window_delegate.h | ||
godot_window_delegate.mm | ||
godot_window.h | ||
godot_window.mm | ||
joypad_macos.cpp | ||
joypad_macos.h | ||
key_mapping_macos.h | ||
key_mapping_macos.mm | ||
logo.png | ||
macos_terminal_logger.h | ||
macos_terminal_logger.mm | ||
os_macos.h | ||
os_macos.mm | ||
platform_config.h | ||
platform_macos_builders.py | ||
README.md | ||
SCsub | ||
tts_macos.h | ||
tts_macos.mm | ||
vulkan_context_macos.h | ||
vulkan_context_macos.mm |
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
- Compiling for macOS
- Instructions on building this platform port from source.
- Exporting for macOS
- Instructions on using the compiled export templates to export a project.
- Running Godot apps on macOS
- Instructions on running Godot projects on macOS.