1CMAKE_<LANG>_CLANG_TIDY 2----------------------- 3 4.. versionadded:: 3.6 5 6Default value for :prop_tgt:`<LANG>_CLANG_TIDY` target property 7when ``<LANG>`` is ``C``, ``CXX``, ``OBJC`` or ``OBJCXX``. 8 9This variable is used to initialize the property on each target as it is 10created. For example: 11 12.. code-block:: cmake 13 14 set(CMAKE_CXX_CLANG_TIDY clang-tidy -checks=-*,readability-*) 15 add_executable(foo foo.cxx) 16