[cmake-developers] iwyu and clang-tidy not working under mac os

Daniel Pfeifer daniel at pfeifer-mail.de
Wed Oct 26 05:50:42 EDT 2016


On Wed, Oct 26, 2016 at 11:27 AM, Roman Wüger <roman.wueger at gmx.at> wrote:

> Hello,
>
> I set CMAKE_CXX_INCLUDE_WHAT_YOU_USE and CMAKE_CXX_CLANG_TIDY. Both work
> as expected with CMake 3.6.2 under linux. Under Mac OS with the same
> sources and the same CMake version doesn't produce any output.
>
> On Linux clang 3.8 is used, on Mac OS it is AppleClang 7.3.0 with
> clang-tidy installed from homebrew.
>
> Any hints?
>

When you run "make VERBOSE=1" and look at what is executed, do you see any
"cmake --iwyu" invocations?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20161026/1fe3d912/attachment.html>


More information about the cmake-developers mailing list