SCons: Disable C++ exception handling by default

Counterpart to https://github.com/godotengine/godot/pull/80612.

(cherry picked from commit bf1c03ab5f)
This commit is contained in:
Rémi Verschelde
2023-08-16 11:47:19 +02:00
committed by David Snopek
parent 698da13d66
commit ef8a499eac
4 changed files with 56 additions and 7 deletions

View File

@@ -31,7 +31,7 @@ def generate(env):
env.Tool("mslink")
env.Append(CPPDEFINES=["TYPED_METHOD_BIND", "NOMINMAX"])
env.Append(CCFLAGS=["/EHsc", "/utf-8"])
env.Append(CCFLAGS=["/utf-8"])
env.Append(LINKFLAGS=["/WX"])
if env["use_clang_cl"]: