How to integrate clang-tidy with CMake
Hi, I want to run clang-tidy each time I build with CMake, how can I do this?
Other than adding
set(CMAKE_CXX_CLANG_TIDY clang-tidy -checks=-*,readability-*)
to the CMakeLists.txt
What else do I still need to do?