mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 04:40:56 -06:00
Ninja 1.9 supports the depfile format generated by this compiler. Use `deps = gcc` when the version of Ninja is new enough. Unfortunately the Intel Compiler for Windows does not properly escape spaces in paths written to a depfile so if there is a space in the path we must still fall back to `deps = msvc`. Fixes: #18855
5 lines
190 B
CMake
5 lines
190 B
CMake
include(Platform/Windows-Intel)
|
|
__windows_compiler_intel(C)
|
|
set(CMAKE_NINJA_DEPTYPE_C intel) # special value handled by CMake
|
|
set(CMAKE_DEPFILE_FLAGS_C "-QMMD -QMT <OBJECT> -QMF <DEPFILE>")
|