mirror of
https://github.com/reactos/CMake.git
synced 2024-12-09 12:24:14 +00:00
a624a3e1b3
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>")
|