1<LANG>_CPPCHECK 2--------------- 3 4.. versionadded:: 3.10 5 6This property is supported only when ``<LANG>`` is ``C`` or ``CXX``. 7 8Specify a :ref:`semicolon-separated list <CMake Language Lists>` containing a command line 9for the ``cppcheck`` static analysis tool. The :ref:`Makefile Generators` 10and the :generator:`Ninja` generator will run ``cppcheck`` along with the 11compiler and report any problems. If the command-line specifies the 12exit code options to ``cppcheck`` then the build will fail if the 13tool returns non-zero. 14 15This property is initialized by the value of the 16:variable:`CMAKE_<LANG>_CPPCHECK` variable if it is set when a target is 17created. 18