[FR] set CMAKE_CXX_CLANG_TIDY automatically
Open
enhancement
help wanted
- Dominant language
- No language data
- Stars
- 2.3k
- Forks
- 310
- PR merge metrics
- No merged PRs in 30d
Description
CMake supports clang-tidy (and has for a while): https://ortogonal.github.io/cmake-clang-tidy/
We probably need to set those properties in our toolchain/hooks so that CMake uses our clang-tidy instead of the host's.
Contributor guide
Research direction
Start by locating the repository's CMake toolchain and hooks, then review how CMake exposes clang-tidy properties. Confirm how the project's clang-tidy should be selected instead of the host's executable. Done means CMake automatically uses the project's clang-tidy through those toolchain or hook settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100