android / android/ndk

[FR] set CMAKE_CXX_CLANG_TIDY automatically

Open
#1,592 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.