From c1b53635fd1da6c87fec9340c83cb1b22d5d7b64 Mon Sep 17 00:00:00 2001 From: maximegmd <672982+maximegmd@users.noreply.github.com> Date: Fri, 1 Mar 2024 12:47:25 +0100 Subject: [PATCH] Update xmake.lua --- xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake.lua b/xmake.lua index c8dedfe5..42c9cd49 100644 --- a/xmake.lua +++ b/xmake.lua @@ -6,7 +6,7 @@ set_arch("x64") add_rules("mode.debug","mode.releasedbg", "mode.release") add_rules("c.unity_build") -add_cxflags("/bigobj", "/MP") +add_cxflags("/bigobj", "/MP", "/EHsc") add_defines("RED4EXT_STATIC_LIB", "UNICODE", "_UNICODE", "_CRT_SECURE_NO_WARNINGS") local vsRuntime = "MD"