You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
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).
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.