CMake currently has built in clang-tidy support via:
- <LANG>_CLANG_TIDY
However, it only works on the Makefile / Ninja generator:
The Makefile Generators and the
Ninja
generator will run this tool along with the compiler and report a warning if the tool reports any problems.
Wouldn’t this cause workflow issues for Visual Studio / XCode users?
I work on a decently popular open source project and want to ensure a smooth workflow for as much developers as possible.