From d3b389f349edf9fac12c3d40361ea0cd394926c0 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 29 Sep 2019 23:17:02 +0300 Subject: Add clang-tidy target. Closes #2383. --- docs/markdown/snippets/clangtidy.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docs/markdown/snippets/clangtidy.md (limited to 'docs') diff --git a/docs/markdown/snippets/clangtidy.md b/docs/markdown/snippets/clangtidy.md new file mode 100644 index 0000000..816d45f --- /dev/null +++ b/docs/markdown/snippets/clangtidy.md @@ -0,0 +1,8 @@ +## Clang-tidy target + +If `clang-tidy` is installed and the project's source root contains a +`.clang-tidy` (or `_clang-tidy`) file, Meson will automatically define +a `clang-tidy` target that runs Clang-Tidy on all source files. + +If you have defined your own `clang-tidy` target, Meson will not +generate its own target. -- cgit v1.1