mirror of
https://github.com/reactos/CMake.git
synced 2024-12-08 20:07:39 +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
6 lines
221 B
CMake
6 lines
221 B
CMake
include(Platform/Windows-Intel)
|
|
set(_COMPILE_CXX " /TP")
|
|
__windows_compiler_intel(CXX)
|
|
set(CMAKE_NINJA_DEPTYPE_CXX intel) # special value handled by CMake
|
|
set(CMAKE_DEPFILE_FLAGS_CXX "-QMMD -QMT <OBJECT> -QMF <DEPFILE>")
|