godot/platform
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
..
android SCons: Refactor LTO options with `lto=<none|thin|full>` 2022-09-08 10:00:02 +02:00
ios SCons: Refactor LTO options with `lto=<none|thin|full>` 2022-09-08 10:00:02 +02:00
linuxbsd SCons: Refactor LTO options with `lto=<none|thin|full>` 2022-09-08 10:00:02 +02:00
macos SCons: Refactor LTO options with `lto=<none|thin|full>` 2022-09-08 10:00:02 +02:00
uwp Rename String `plus_file` to `path_join` 2022-08-29 19:38:13 -05:00
web SCons: Refactor LTO options with `lto=<none|thin|full>` 2022-09-08 10:00:02 +02:00
windows SCons: Refactor LTO options with `lto=<none|thin|full>` 2022-09-08 10:00:02 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
register_platform_apis.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00