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

2018-12-12 Thread Mateusz Loskot
On Mon, 10 Dec 2018 at 18:31, Bill Hoffman via CMake wrote: > On 12/8/2018 7:47 PM, Mateusz Loskot wrote: > > > > 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

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

2018-12-10 Thread Bill Hoffman via CMake
On 12/8/2018 7:47 PM, Mateusz Loskot wrote: 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

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

2018-12-08 Thread Mateusz Loskot
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