Browse Source

UWP configuration cleanup.

Branimir Karadžić 8 years ago
parent
commit
879c307db6
1 changed files with 4 additions and 1 deletions
  1. 4 1
      scripts/toolchain.lua

+ 4 - 1
scripts/toolchain.lua

@@ -609,7 +609,10 @@ function toolchain(_buildDir, _libDir)
 	configuration { "winstore*" }
 	configuration { "winstore*" }
 		removeflags {
 		removeflags {
 			"StaticRuntime",
 			"StaticRuntime",
-			"NoExceptions",
+			"NoBufferSecurityCheck",
+		}
+		buildoptions {
+			"/wd4530", -- vccorlib.h(1345): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
 		}
 		}
 		linkoptions {
 		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
 			"/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