mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Disable exceptions on MSVC to reduce code bloat
This commit is contained in:
parent
75c1364373
commit
22a7cbe77e
@ -970,7 +970,7 @@ def CompileCxx(obj,src,opts):
|
|||||||
if ("BIGOBJ" in opts) or GetTargetArch() == 'x64':
|
if ("BIGOBJ" in opts) or GetTargetArch() == 'x64':
|
||||||
cmd += " /bigobj"
|
cmd += " /bigobj"
|
||||||
|
|
||||||
cmd += " /EHa /Zm300 /DWIN32_VC /DWIN32"
|
cmd += " /Zm300 -D_HAS_EXCEPTIONS=0 /DWIN32_VC /DWIN32"
|
||||||
if GetTargetArch() == 'x64':
|
if GetTargetArch() == 'x64':
|
||||||
cmd += " /DWIN64_VC /DWIN64"
|
cmd += " /DWIN64_VC /DWIN64"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user