[cmake-developers] Regarding the 'run-include-what-you-use' topic

Daniel Pfeifer daniel at pfeifer-mail.de
Wed May 20 17:59:52 EDT 2015


On Wed, May 20, 2015 at 7:34 PM, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> I looked quickly at the clang-tidy docs and it looks interesting.  I see it
> is setup to use the compile_commands.json file.  Originally we looked at
> running iwyu using that file.  However, it became quickly evident that this
> would be a pain to do.

I can confirm that it is a pain for clang-tidy too.

> By using it as pre-compile command  we can capture
> its output as compiler warnings and report them on the dashboard.  In
> addition, it can be run in parallel by the build tool (make or ninja).  I
> will take a look at clang-tidy as it might fit into the iwyu setup we
> created in a similar way.

Thanks, I am pretty sure it does.


More information about the cmake-developers mailing list