summaryrefslogtreecommitdiff
path: root/scene/resources/resource_format_text.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-02-03 10:47:06 +0100
committerRémi Verschelde <rverschelde@gmail.com>2021-02-03 11:48:17 +0100
commitdb26871210fc53f2e36e24f985eea8f344d402f8 (patch)
tree3d3aadcee87a2d483f66fb4f1ab961a335c20dd1 /scene/resources/resource_format_text.h
parent3a3af0279b1ed7c3b40136cdd7db1f54e09b88e2 (diff)
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.
Diffstat (limited to 'scene/resources/resource_format_text.h')
0 files changed, 0 insertions, 0 deletions