godot/platform/windows
Rémi Verschelde f3c030aa47 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.

(cherry picked from commit db26871210)
2021-02-05 09:26:09 +01:00
..
export Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
context_gl_windows.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
context_gl_windows.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
crash_handler_windows.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
crash_handler_windows.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
detect.py SCons: Add production=yes option to use production defaults 2021-02-05 09:26:09 +01:00
godot.ico Make the Windows icon file smaller 2017-06-20 14:38:50 +02:00
godot.natvis Style: Fix code format scripts compat with non-GNU Unices 2020-07-28 00:41:52 +02:00
godot_res.rc PCK: Set VERSION_PATCH in header, factor out header magic 2020-01-06 13:13:17 +01:00
godot_windows.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
joypad_windows.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
joypad_windows.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
key_mapping_windows.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
key_mapping_windows.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
lang_table.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
logo.png Optimize images losslessly using oxipng -o6 --strip all --zopfli 2018-06-28 19:17:41 +02:00
os_windows.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
os_windows.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
platform_config.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
platform_windows_builders.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
power_windows.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
power_windows.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub Remove debug_symbols=full in favor of debug_symbols=yes 2020-11-11 15:12:01 +01:00
windows_terminal_logger.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
windows_terminal_logger.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00