mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-19 13:40:42 -06:00
Run the `Utilities/Sphinx/update_versions.py` script to add initial markup to every top-level document and find module. Issue: #19715
16 lines
388 B
ReStructuredText
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)
|