pandemonium_engine/platform
Relintai 5ae44c4746 Ported: 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.
- akien-mga
55550da68b
2023-08-27 13:04:04 +02:00
..
android Ported: Add parameters for the Godot Activity starting intent to allow restarting or force-quitting the engine 2023-06-28 18:58:29 +02:00
frt Fix build. 2023-07-13 14:47:04 +02:00
frt_sdl Fix build. 2023-07-13 14:47:04 +02:00
iphone Ported: SCons: Disable C++ exception handling 2023-08-27 13:04:04 +02:00
javascript Update npm packages 2023-08-27 11:59:50 +02:00
osx Back-port notarytool, provisioning profile and PKG export options. 2023-08-27 12:12:20 +02:00
server SCons: Refactor LTO options with lto=<none|thin|full> 2022-09-16 22:54:09 +02:00
windows Ported from godot4: Fix reading Unicode from stdio. 2023-08-05 20:33:48 +02:00
x11 Prevent double input events on gamepad when running through steam input #79706 2023-08-27 11:47:35 +02:00
register_platform_apis.h Clang format all files. 2022-03-18 19:00:13 +01:00
SCsub Added godot with all my currently used engine modules. 2022-03-15 13:29:32 +01:00