summaryrefslogtreecommitdiffhomepage
path: root/cmake/msvc.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-06-05 08:38:03 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-06-13 07:02:53 +0200
commit0e6df89fe42105d87ff4b4aebd5ca598c22ff72a (patch)
tree70f80153aea0d8e219ec755e9034cbe4243e47d9 /cmake/msvc.cmake
parent63e1bb6605d78af73e52cc2ac38b46bd8d15c5f3 (diff)
cmake: random stuff
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 3ab0192c..9f77bddf 100644
--- a/cmake/msvc.cmake
+++ b/cmake/msvc.cmake
@@ -68,7 +68,7 @@ set(_LDFLAGS "-machine:X86 -DEBUG")
#set(_ltcg "-LTCG")
set(_ltcg "-LTCG:INCREMENTAL")
-set(_LDFLAGS_RELEASE "-OPT:REF,ICF -cgthreads:1 ${_ltcg}")
+set(_LDFLAGS_RELEASE "-OPT:REF,ICF=4 -verbose -cgthreads:1 ${_ltcg}")
set(_LDFLAGS_DEBUG "")
set(_LDFLAGS_STATIC "-machine:X86 -WX")
@@ -77,7 +77,7 @@ set(_LDFLAGS_STATIC_DEBUG "")
# debugging build times
#set(_CXXFLAGS "${_CXXFLAGS} -Bt+")
-set(_LDFLAGS "${_LDFLAGS} -time")
+#set(_LDFLAGS "${_LDFLAGS} -time")
set(CMAKE_RC_FLAGS "/nologo -DWIN32")