Files
CMake/Help/variable/CMAKE_LANG_CLANG_TIDY.rst
Kitware Robot 496ec6036f Help: Add Sphinx 'versionadded' directives to each top-level document
Run the `Utilities/Sphinx/update_versions.py` script to add initial
markup to every top-level document and find module.

Issue: #19715
2020-07-06 10:23:20 -04:00

16 lines
388 B
ReStructuredText

CMAKE_<LANG>_CLANG_TIDY
-----------------------
.. versionadded:: 3.6
Default value for :prop_tgt:`<LANG>_CLANG_TIDY` target property
when ``<LANG>`` is ``C`` or ``CXX``.
This variable is used to initialize the property on each target as it is
created. For example:
.. code-block:: cmake
set(CMAKE_CXX_CLANG_TIDY clang-tidy -checks=-*,readability-*)
add_executable(foo foo.cxx)