From 879c307db69d2832007470335c25c596ba8b09fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 14 Dec 2017 22:57:49 -0800 Subject: [PATCH] UWP configuration cleanup. --- scripts/toolchain.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/toolchain.lua b/scripts/toolchain.lua index 11a0f5f..80375ec 100644 --- a/scripts/toolchain.lua +++ b/scripts/toolchain.lua @@ -609,7 +609,10 @@ function toolchain(_buildDir, _libDir) configuration { "winstore*" } removeflags { "StaticRuntime", - "NoExceptions", + "NoBufferSecurityCheck", + } + buildoptions { + "/wd4530", -- vccorlib.h(1345): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc } linkoptions { "/ignore:4264" -- LNK4264: archiving object file compiled with /ZW into a static library; note that when authoring Windows Runtime types it is not recommended to link with a static library that contains Windows Runtime metadata