How does CMake’s dependency extraction work?

  c++, cmake

I noticed that the recent version of CMake release notes has a line about a new feature:

Makefile Generators, for some toolchains, now use the compiler to extract implicit dependencies while compiling source files.

This sounds like a cool feature, but I couldn’t figure out how to actually use it. A quick search didn’t return any obvious documentation. Does anyone here know more about how to use it?

Source: Windows Questions C++

LEAVE A COMMENT