godot/servers
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
..
arvr One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
audio Merge pull request #70514 from stmSi/fix-editor-hanging-audio-pitch-scale-nan 2023-02-17 12:15:27 +01:00
camera One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
physics Single Compilation Unit build. 2023-07-02 20:13:16 +01:00
physics_2d Backport from Godot 4 - Fix RigidDynamicBody gaining momentum with bounce #55313 2023-04-19 01:13:58 +08:00
visual Merge pull request #80176 from lawnjelly/fti_2d_particles 2023-08-08 14:27:38 +02:00
SCsub SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
arvr_server.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
arvr_server.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
audio_server.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
audio_server.h SCons: Disable C++ exception handling 2023-08-16 10:34:10 +02:00
camera_server.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
camera_server.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
navigation_2d_server.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
navigation_2d_server.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
navigation_server.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
navigation_server.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
physics_2d_server.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
physics_2d_server.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
physics_server.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
physics_server.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
register_server_types.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
register_server_types.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
server_wrap_mt_common.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
visual_server.cpp Add debug_canvas_item_get_local_bound() function to VisualServer 2023-08-02 17:05:13 +01:00
visual_server.h Physics Interpolation - add support for CPUParticles2D 2023-08-03 14:44:08 +01:00
visual_server_callbacks.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
visual_server_callbacks.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00