godot/modules/fbx/fbx_parser
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
..
ByteSwapper.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
CREDITS Rewrite FBX Importer to convert directly to Godot scene format 2020-10-30 15:59:19 +00:00
FBXAnimation.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXBinaryTokenizer.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXCommon.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXDeformer.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXDocument.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXDocument.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXDocumentUtil.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXDocumentUtil.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXImportSettings.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXMaterial.cpp SCons: Disable C++ exception handling 2023-08-16 10:34:10 +02:00
FBXMeshGeometry.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXMeshGeometry.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXModel.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXNodeAttribute.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXParseTools.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXParser.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXParser.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXPose.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXProperties.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXProperties.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXTokenizer.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXTokenizer.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXUtil.cpp One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
FBXUtil.h One Copyright Update to rule them all 2023-01-10 15:26:54 +01:00
LICENSE Rewrite FBX Importer to convert directly to Godot scene format 2020-10-30 15:59:19 +00:00