From 50cdab11f307de2996aabf57e75a7fdc939c047a Mon Sep 17 00:00:00 2001 From: SirLynix Date: Wed, 27 Jul 2022 19:07:07 +0200 Subject: [PATCH] Don't force MD vs_runtime --- xmake.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/xmake.lua b/xmake.lua index 1767004d2..02746a8e1 100644 --- a/xmake.lua +++ b/xmake.lua @@ -197,8 +197,6 @@ end if is_plat("windows") then - set_runtimes(is_mode("debug") and "MDd" or "MD") - add_defines("_CRT_SECURE_NO_WARNINGS") add_cxxflags("/bigobj", "/permissive-", "/Zc:__cplusplus", "/Zc:externConstexpr", "/Zc:inline", "/Zc:lambda", "/Zc:preprocessor", "/Zc:referenceBinding", "/Zc:strictStrings", "/Zc:throwingNew") add_cxflags("/w44062") -- Enable warning: switch case not handled