Commit Graph

4 Commits (b0e1afa0d82fda340690811e64cb94d62b32001d)

Author SHA1 Message Date
ClausKlein b0e1afa0d8 Change clang-tidy cmake module
Copy default config file .clang-tidy for later use to binary dir
6 years ago
ClausKlein 239e8c0e32 Changes according to review
We need first clang-tidy for all

If found, we should find run-clang-tidy.py for the check taget
Then we need a compile_commands.json created by cmake or mesonbuild.

And this has to be linkd to the source tree, if the binary tree is
outsite the source tree.

That must be true for ninja generator to generate absolute pathes at
compile_commands.json!
6 years ago
ClausKlein a28ddf1c3a Add run-clang-tidy python script
Bundle this script from llvm repo
6 years ago
ClausKlein e02480c301 Create a check target to run clang-tidy
This help to run clang-tidy while build
Note: this only check example tree and needs
run-clang-tidy python script from llvm distro!
6 years ago