summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Windows-MSVC.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2020-12-01 13:05:06 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2020-12-01 14:50:01 (GMT)
commitf8d8faff8d01323d5a48a3b9be55cf9b6e10d5b4 (patch)
tree748c7eab8a29147749ccbf11f367dd0670b01136 /Modules/Platform/Windows-MSVC.cmake
parenta22a8f1e36628f32485b4aebed7cd30ee40c5b4a (diff)
downloadCMake-f8d8faff8d01323d5a48a3b9be55cf9b6e10d5b4.zip
CMake-f8d8faff8d01323d5a48a3b9be55cf9b6e10d5b4.tar.gz
CMake-f8d8faff8d01323d5a48a3b9be55cf9b6e10d5b4.tar.bz2
Ninja Generators: Homogenize configuration with Makefiles
* Use same configuration variables to configure dependencies * Abstract Ninja deps format from compiler one
Diffstat (limited to 'Modules/Platform/Windows-MSVC.cmake')
-rw-r--r--Modules/Platform/Windows-MSVC.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/Platform/Windows-MSVC.cmake b/Modules/Platform/Windows-MSVC.cmake
index ec5758c..08afd61 100644
--- a/Modules/Platform/Windows-MSVC.cmake
+++ b/Modules/Platform/Windows-MSVC.cmake
@@ -435,11 +435,10 @@ macro(__windows_compiler_msvc lang)
set(CMAKE_${lang}_COMPILE_OPTIONS_MSVC_RUNTIME_LIBRARY_MultiThreadedDebugDLL -MDd)
endif()
set(CMAKE_${lang}_LINKER_SUPPORTS_PDB ON)
- set(CMAKE_NINJA_DEPTYPE_${lang} msvc)
+
__windows_compiler_msvc_enable_rc("${_PLATFORM_DEFINES} ${_PLATFORM_DEFINES_${lang}}")
# define generic information about compiler dependencies
- # activation is done on per language platform configuration basis
if (MSVC_VERSION GREATER 1300)
set(CMAKE_DEPFILE_FLAGS_${lang} "/showIncludes")
set(CMAKE_${lang}_DEPFILE_FORMAT msvc)