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

2016-10-26 Thread Roman Wüger
Ok, I've got it. If anyone is interested, here is my configuration: find_program(iwyu_path NAMES include-what-you-use iwyu PATHS ${CMAKE_SOURCE_DIR}/tools/include-what-you-use/${iwyu_os}/bin) if(NOT iwyu_path) message(STATUS "Program include-what-you-use: Not found") else() message(STATUS "Progr

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

2016-10-26 Thread Daniel Pfeifer
On Wed, Oct 26, 2016 at 11:27 AM, Roman Wüger 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

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

2016-10-26 Thread Roman Wüger
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 inst