godot/tests
Rémi Verschelde 269b115d9c 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.

(cherry picked from commit 3907e53ff6)
2023-09-20 22:44:05 +02:00
..
core SCons: Disable C++ exception handling 2023-09-20 22:44:05 +02:00
data Improve error reporting when parsing CSV translation file 2023-06-19 12:47:44 +02:00
python_build Add GPUParticles to the OpenGL3 renderer. 2022-11-14 23:28:25 -08:00
scene SCons: Disable C++ exception handling 2023-09-20 22:44:05 +02:00
servers Add `agent` and `map` tests for 'NavigationServer3D' 2023-06-20 17:48:06 +02:00
SCsub SCons: Disable C++ exception handling 2023-09-20 22:44:05 +02:00
create_test.py One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
display_server_mock.h Add Unit Tests for Viewport InputEvent handling 2023-02-09 14:53:04 +01:00
test_macros.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_macros.h Fix various errors when running the unit tests 2023-05-09 18:40:56 +02:00
test_main.cpp Fix global transform validity for `Node2D` and `Control` 2023-09-20 22:44:03 +02:00
test_main.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_tools.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_utils.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_utils.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
test_validate_testing.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00