summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-07-31 13:17:35 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2014-07-31 13:17:35 (GMT)
commit9f575a26fd7019114687104c719b20ef6d26b1fe (patch)
tree9e17ea0a31309c933c402d82515b43ca13a10133 /Modules
parent202b7d12eb0609f1a2dd7f587c0ed17d45bec1c5 (diff)
parentf86850ef60b7dc008a144722bd0c803289a8ab76 (diff)
downloadCMake-9f575a26fd7019114687104c719b20ef6d26b1fe.zip
CMake-9f575a26fd7019114687104c719b20ef6d26b1fe.tar.gz
CMake-9f575a26fd7019114687104c719b20ef6d26b1fe.tar.bz2
Merge topic 'pdb-genex'
f86850ef Genex: Implement generator expressions for target PDB files. 028ad318 Genex: Simplify filesytem artifact code
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Windows-MSVC.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-MSVC.cmake b/Modules/Platform/Windows-MSVC.cmake
index 2cfe6fe..e51c592 100644
--- a/Modules/Platform/Windows-MSVC.cmake
+++ b/Modules/Platform/Windows-MSVC.cmake
@@ -258,4 +258,5 @@ macro(__windows_compiler_msvc lang)
set(CMAKE_${lang}_FLAGS_RELEASE_INIT "/MD /O2 /Ob2 /D NDEBUG")
set(CMAKE_${lang}_FLAGS_RELWITHDEBINFO_INIT "/MD /Zi /O2 /Ob1 /D NDEBUG")
set(CMAKE_${lang}_FLAGS_MINSIZEREL_INIT "/MD /O1 /Ob1 /D NDEBUG")
+ set(CMAKE_${lang}_LINKER_SUPPORTS_PDB ON)
endmacro()