godot/platform/linuxbsd
Rémi Verschelde db26871210 SCons: Add `production=yes` option to use production defaults
This is meant for users making custom builds to match the options used on
optimized, official builds.

This enables, on the platforms which support them:
- `use_static_cpp=yes` (portable binaries for Linux and Windows)
- `use_lto=yes` (link time optimizations - note: requires a lot of RAM!)
- `debug_symbols=no` (no debug symbols, smaller binaries)

Also abort when using MSVC with `production=yes`, as:
- It cannot optimize the GDScript VM like GCC or Clang do, leading to
  significant performance drops.
- Its LTO support is unreliable, at least used to trigger crashes last
  we tried it extensively.

All options can still be overridden if specified, and the `dev=yes` option
was changed to also support overrides.
2021-02-03 11:48:17 +01:00
..
export Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
SCsub Remove `debug_symbols=full` in favor of `debug_symbols=yes` 2020-11-09 15:48:30 +01:00
context_gl_x11.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
context_gl_x11.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
crash_handler_linuxbsd.cpp Split OS::execute into two methods 2021-01-09 10:03:23 +00:00
crash_handler_linuxbsd.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
detect.py SCons: Add `production=yes` option to use production defaults 2021-02-03 11:48:17 +01:00
detect_prime_x11.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
detect_prime_x11.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
display_server_x11.cpp Merge pull request #45315 from RandomShaper/modernize_thread 2021-01-31 15:24:56 +01:00
display_server_x11.h Modernize Thread 2021-01-29 12:02:13 +01:00
godot_linuxbsd.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
joypad_linux.cpp Merge pull request #45315 from RandomShaper/modernize_thread 2021-01-31 15:24:56 +01:00
joypad_linux.h Modernize Thread 2021-01-29 12:02:13 +01:00
key_mapping_x11.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
key_mapping_x11.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
logo.png
os_linuxbsd.cpp Unify URI encoding/decoding and add to C# 2021-01-28 07:45:01 -05:00
os_linuxbsd.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
pck_embed.ld
pck_embed.legacy.ld
platform_config.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
platform_linuxbsd_builders.py SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
vulkan_context_x11.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
vulkan_context_x11.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00