6 This property is implemented only when ``<LANG>`` is ``C``, ``CXX``, ``OBJC``
9 Specify a :ref:`semicolon-separated list <CMake Language Lists>` containing
10 a command line for the ``clang-tidy`` tool. The :ref:`Makefile Generators`
11 and the :generator:`Ninja` generator will run this tool along with the
12 compiler and report a warning if the tool reports any problems.
14 The specified ``clang-tidy`` command line will be invoked with additional
15 arguments specifying the source file and, after ``--``, the full compiler
18 .. versionchanged:: 3.25
20 If the specified ``clang-tidy`` command line includes the ``-p`` option,
21 it will be invoked without ``--`` and the full compiler command line.
22 ``clang-tidy`` will look up the source file in the specified compiler
25 This property is initialized by the value of
26 the :variable:`CMAKE_<LANG>_CLANG_TIDY` variable if it is set
27 when a target is created.