mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 11:49:55 -06:00
Create a `<LANG>_CPPCHECK` target property (initialized by a `CMAKE_<LANG>_CPPCHECK` variable) to specify a `cppcheck` command line to be run along with the compiler.
8 lines
302 B
ReStructuredText
8 lines
302 B
ReStructuredText
add-cppcheck
|
|
------------
|
|
|
|
* A :prop_tgt:`<LANG>_CPPCHECK` target property and supporting
|
|
:variable:`CMAKE_<LANG>_CPPCHECK` variable were introduced to tell
|
|
the :ref:`Makefile Generators` and the :generator:`Ninja` generator to
|
|
run ``cppcheck`` with the compiler for ``C`` and ``CXX`` languages.
|