aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/clangtidy.md8
1 files changed, 8 insertions, 0 deletions
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.