[cmake-developers] Integration of clang-tidy
Gregor Jasny
gjasny at googlemail.com
Wed Apr 27 16:47:00 EDT 2016
Hallo Daniel,
On 09/04/16 00:31, Daniel Pfeifer wrote:
> I implemented the integration of `clang-tidy` along the lines of the
> `include-what-you-use` integration.
> There is a new `<LANG>_CLANG_TIDY` target property that is initialized
> with the value of the `CMAKE_<LANG>_CLANG_TIDY` variable.
> It contains the command line for `clang-tidy` as a ;-list.
I'm wondering what's the advantage of having this built-in support for
clang tidy over using the generated compile command database instead?
Thanks,
Gregor
More information about the cmake-developers
mailing list