godot/tests
Rémi Verschelde 3907e53ff6
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:23:34 +02:00
..
core SCons: Disable C++ exception handling 2023-08-16 10:23:34 +02:00
data Implement loading DDS textures at run-time 2023-07-31 21:31:26 +02:00
python_build
scene SCons: Disable C++ exception handling 2023-08-16 10:23:34 +02:00
servers Fix GCC -Wmaybe-uninitialized warnings 2023-08-14 14:35:35 +02:00
create_test.py
display_server_mock.h
SCsub SCons: Disable C++ exception handling 2023-08-16 10:23:34 +02:00
test_macros.cpp
test_macros.h Add Unit tests for viewport.cpp Physics 2D Picking 2023-08-07 09:06:19 +02:00
test_main.cpp Fix nodes receiving mouse events in black bars of Window 2023-08-09 12:34:22 +02:00
test_main.h
test_tools.h
test_utils.cpp
test_utils.h
test_validate_testing.h