From 1503b09cfb8b129aa2aad83e1920222b98f6f464 Mon Sep 17 00:00:00 2001 From: maximegmd <672982+maximegmd@users.noreply.github.com> Date: Thu, 29 Feb 2024 16:55:58 +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 da157bac..b933eb49 100644 --- a/xmake.lua +++ b/xmake.lua @@ -7,7 +7,7 @@ add_rules("mode.debug","mode.releasedbg", "mode.release") --add_rules("plugin.vsxmake.autoupdate") 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"