summaryrefslogtreecommitdiff
path: root/share/cmake-3.22/Help/prop_tgt/LANG_CPPLINT.rst
diff options
context:
space:
mode:
authorRyan Prichard <rprichard@google.com>2022-01-13 17:30:17 -0800
committerRyan Prichard <rprichard@google.com>2022-01-13 17:30:31 -0800
commit7aea7e9880110799088cd1de509886871078306f (patch)
tree5cf68b7dabd868f99ec4160cf1f7237ff63e4c37 /share/cmake-3.22/Help/prop_tgt/LANG_CPPLINT.rst
parentd09ee7574f3e46668b23b3b6efebd0ea75de85b2 (diff)
downloaddarwin-x86-7aea7e9880110799088cd1de509886871078306f.tar.gz
Fusion2: http://fusion2/610fb8e3-5633-41a6-b50b-ed5819f55cd6 GCS path: gs://ndk-kokoro-release-artifacts/prod/ndk/cmake/darwin_release/3/20211215-131219 Prebuilt updated using: ndk/scripts/update_kokoro_prebuilts.py Test: Treehugger, Kokoro presubmit Bug: http://b/213946898 Change-Id: Icbb6d90cad49dbe67f168075508872b1704d9f61
Diffstat (limited to 'share/cmake-3.22/Help/prop_tgt/LANG_CPPLINT.rst')
-rw-r--r--share/cmake-3.22/Help/prop_tgt/LANG_CPPLINT.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/share/cmake-3.22/Help/prop_tgt/LANG_CPPLINT.rst b/share/cmake-3.22/Help/prop_tgt/LANG_CPPLINT.rst
new file mode 100644
index 0000000..be6db46
--- /dev/null
+++ b/share/cmake-3.22/Help/prop_tgt/LANG_CPPLINT.rst
@@ -0,0 +1,15 @@
+<LANG>_CPPLINT
+--------------
+
+.. versionadded:: 3.8
+
+This property is supported only when ``<LANG>`` is ``C`` or ``CXX``.
+
+Specify a :ref:`semicolon-separated list <CMake Language Lists>` containing a command line
+for the ``cpplint`` style checker. The :ref:`Makefile Generators` and the
+:generator:`Ninja` generator will run ``cpplint`` along with the compiler
+and report any problems.
+
+This property is initialized by the value of the
+:variable:`CMAKE_<LANG>_CPPLINT` variable if it is set when a target is
+created.