summaryrefslogtreecommitdiffhomepage
path: root/cmake/msvc.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-05-03 10:52:07 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-05-03 10:52:07 +0200
commit890fb27d782863dfc385193561f4cc8698f1cb4d (patch)
tree040e404b2645fa8e6994c10d387e623cdeb57537 /cmake/msvc.cmake
parent7635ad3341be78e3915442921a8b9420fa00ef2c (diff)
cmake: also set .pdb generation, duh
Diffstat (limited to 'cmake/msvc.cmake')
-rw-r--r--cmake/msvc.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake
index b32f02d7..bab3f3df 100644
--- a/cmake/msvc.cmake
+++ b/cmake/msvc.cmake
@@ -43,7 +43,7 @@ if(CMAKE_PROJECT_NAME STREQUAL "opentrack")
set(cc "${cc} /GR- /arch:SSE2")
endif()
-set(silly "${warns_} /MT /Zi /Gm")
+set(silly "${warns_} /MT /Gm")
set(_CFLAGS "${silly}")
set(_CXXFLAGS "${silly}")
@@ -52,7 +52,7 @@ set(_CFLAGS_DEBUG "/GS /sdl /Gs /guard:cf")
set(_CXXFLAGS_RELEASE "${cc}")
set(_CXXFLAGS_DEBUG "${_CFLAGS_DEBUG}")
-set(_LDFLAGS "/WX /DEBUG")
+set(_LDFLAGS "/WX")
set(_LDFLAGS_RELEASE "/LTCG:INCREMENTAL /OPT:REF /OPT:ICF=10")
set(_LDFLAGS_DEBUG "")