From dbaf7fb8ccb90f19d1f5a8c8b98287d541f82b72 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 31 Dec 2021 23:27:13 +0100 Subject: cmake/msvc: add more conformance crap --- cmake/msvc.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake index f12fd1b1..47bbbe49 100644 --- a/cmake/msvc.cmake +++ b/cmake/msvc.cmake @@ -66,7 +66,7 @@ set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON) add_link_options(-cgthreads:1) set(_CFLAGS "-diagnostics:classic -Zc:preprocessor -wd4117 -Zi -Zf -Zo -bigobj -cgthreads1 -vd0 -MT") -set(_CXXFLAGS "${_CFLAGS}") +set(_CXXFLAGS "${_CFLAGS} -Zc:throwingNew -Zc:lambda -Zc:inline") set(_CFLAGS_RELEASE "-O2 -Oit -Oy- -Ob3 -fp:fast -GS- -GF -GL -Gw -Gy -arch:SSE2") set(_CFLAGS_DEBUG "-guard:cf -MTd -Gs0 -RTCs") set(_CXXFLAGS_RELEASE "${_CFLAGS_RELEASE}") -- cgit v1.2.3