virtualx-engine/platform
Rémi Verschelde 55550da68b
SCons: Disable C++ exception handling
Upon investigating the extremely slow MSVC build times in #80513, I noticed
that while Godot policy is to never use exceptions, we weren't enforcing it
with compiler flags, and thus still included exception handling code and
stack unwinding.

This is wasteful on multiple aspects:

- Binary size: Around 20% binary size reduction with exceptions disabled
  for both MSVC and GCC binaries.
- Compile time:
  * More than 50% build time reduction with MSVC.
  * 10% to 25% build time reduction with GCC + LTO.
- Performance: Possibly, needs to be benchmarked.

Since users may want to re-enable exceptions in their own thirdparty code
or the libraries they compile with Godot, this behavior can be toggled with
the `disable_exceptions` SCons option, which defaults to true.
2023-08-16 10:34:10 +02:00
..
android SCons: Disable C++ exception handling 2023-08-16 10:34:10 +02:00
iphone SCons: Disable C++ exception handling 2023-08-16 10:34:10 +02:00
javascript SCons: Disable C++ exception handling 2023-08-16 10:34:10 +02:00
osx [macOS] Back-port notarytool, provisioning profile and PKG export options. 2023-08-07 08:41:37 +03:00
server One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
uwp Merge pull request #73127 from akien-mga/uwp-google-angle 2023-02-13 13:09:29 +01:00
windows Add audio/general/text_to_speech project setting to enable/disable TTS. 2023-05-26 20:57:29 +03:00
x11 [3.x] Prevent double input events on gamepad when running through steam input #79706 2023-07-20 16:35:44 -04:00
register_platform_apis.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00