https://github.com/Kitware/CMake
Raw File
Tip revision: bf02d625325535f485512eba307cff54c08bb257 authored by Brad King on 14 March 2019, 13:08:05 UTC
CMake 3.14.0
Tip revision: bf02d62
CMAKE_LANG_CLANG_TIDY.rst
CMAKE_<LANG>_CLANG_TIDY
-----------------------

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)
back to top