[CMake] .d dependency files for ninja

Brad King brad.king at kitware.com
Thu Apr 12 11:52:51 EDT 2018


On 02/08/2017 04:05 PM, Ephi Sinowitz (BLOOMBERG/ 731 LEX) wrote:
> cmake creates these files for gcc compiler using the -MMD -MMF
> compiler flags but does not do so for AIX xlc and Sun CC
> Is this a known issue? Is there a workaround?

This simply means no one has added support for these compilers.
Ninja requires the compiler to support depfile generation.

CMake's Modules/Compiler/*.cmake modules set CMAKE_DEPFILE_FLAGS_<LANG>
variables to record the flags for each compiler.

-Brad


More information about the CMake mailing list