summaryrefslogtreecommitdiffstats
path: root/Help/prop_tgt/LANG_CPPCHECK.rst
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2023-05-19 02:28:34 (GMT)
committerCraig Scott <craig.scott@crascit.com>2023-05-19 02:29:06 (GMT)
commit652a78531100d8b47ce3737f12e938b0dc9321ec (patch)
treec203eb130a5d12eed51382a95b12886dde270f2f /Help/prop_tgt/LANG_CPPCHECK.rst
parent5056a224dc4c74912f0ca2c1af1bf69bab88a5be (diff)
downloadCMake-652a78531100d8b47ce3737f12e938b0dc9321ec.zip
CMake-652a78531100d8b47ce3737f12e938b0dc9321ec.tar.gz
CMake-652a78531100d8b47ce3737f12e938b0dc9321ec.tar.bz2
Help: Wording, formatting and ordering fixes for SKIP_LINTING docs
Amends b480315e0c2 (TargetGenerator: Add SKIP_LINTING source property, 2023-05-12).
Diffstat (limited to 'Help/prop_tgt/LANG_CPPCHECK.rst')
-rw-r--r--Help/prop_tgt/LANG_CPPCHECK.rst12
1 files changed, 7 insertions, 5 deletions
diff --git a/Help/prop_tgt/LANG_CPPCHECK.rst b/Help/prop_tgt/LANG_CPPCHECK.rst
index 3ab2b58..0628061 100644
--- a/Help/prop_tgt/LANG_CPPCHECK.rst
+++ b/Help/prop_tgt/LANG_CPPCHECK.rst
@@ -21,9 +21,11 @@ created.
This property supports
:manual:`generator expressions <cmake-generator-expressions(7)>`.
+.. versionadded:: 3.27
+
:prop_sf:`SKIP_LINTING` can be set on individual source files to exclude
- them from the linting process, which includes tools like
- :prop_tgt:`<LANG>_CPPLINT`, :prop_tgt:`<LANG>_CLANG_TIDY`,
- :prop_tgt:`<LANG>_CPPCHECK`, and :prop_tgt:`<LANG>_INCLUDE_WHAT_YOU_USE`.
- When :prop_sf:`SKIP_LINTING` is set on a source file, the mentioned tools
- will not be run on that specific file.
+ them from the linting tools defined by :prop_tgt:`<LANG>_CPPLINT`,
+ :prop_tgt:`<LANG>_CLANG_TIDY`, ``<LANG>_CPPCHECK``, and
+ :prop_tgt:`<LANG>_INCLUDE_WHAT_YOU_USE`. When :prop_sf:`SKIP_LINTING` is
+ set to true on a source file, those tools will not be run on that specific
+ file.