Skip to content

Ninja: Use deps=gcc for Intel Compiler on Windows

Brad King requested to merge brad.king/cmake:ninja-intel-depfile into master

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 (closed)

Merge request reports