summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-12-31 23:27:13 +0100
committerStanislaw Halik <sthalik@misaki.pl>2021-12-31 23:29:45 +0100
commitdbaf7fb8ccb90f19d1f5a8c8b98287d541f82b72 (patch)
tree46f09b3d90672c437e465390ebc441881586a09a /cmake
parentbf6cd9bec0053a1bc1373066d83e54cbc74a4140 (diff)
cmake/msvc: add more conformance crap
Diffstat (limited to 'cmake')
-rw-r--r--cmake/msvc.cmake2
1 files changed, 1 insertions, 1 deletions
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}")