[CMake] Can CXX_CLANG_TIDY use .clang-tidy file?

Mateusz Loskot mateusz at loskot.net
Sat Dec 8 19:47:12 EST 2018


Hi,

Am I correct clang-tidy run via CXX_CLANG_TIDY
ignores .clang-tidy configuration file?

I've tried number of ways to help it find the file,
i.e. copied the file to binary directories from where it seems run via
usr/local/bin/cmake -E __run_co_compile --tidy=/usr/bin/clang-tidy-7

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net


More information about the CMake mailing list