[cmake-developers] Integration of clang-tidy

Brad King brad.king at kitware.com
Mon Apr 11 11:26:09 EDT 2016


On 04/08/2016 06:31 PM, 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.

Nice.  The patch is very complete.  Applied:

 Add options to run clang-tidy with the compiler
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b2db0170

Thanks,
-Brad


More information about the cmake-developers mailing list