[cfe-dev] Publish dependency map (header files)

Joerg Sonnenberger via cfe-dev cfe-dev at lists.llvm.org
Wed Dec 21 04:36:47 PST 2016


On Wed, Dec 21, 2016 at 03:49:45PM +0530, Ramesh Babu via cfe-dev wrote:
> I want to publish a dependency map for my source file. Can you suggest a
> way I could achieve this by getting a list of #include in the source code?

Look at -MMD or -MM for clang.

Joerg



More information about the cfe-dev mailing list