mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
Add properties to run cppcheck along with the compiler
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.
This commit is contained in:
6
Help/variable/CMAKE_LANG_CPPCHECK.rst
Normal file
6
Help/variable/CMAKE_LANG_CPPCHECK.rst
Normal file
@@ -0,0 +1,6 @@
|
||||
CMAKE_<LANG>_CPPCHECK
|
||||
---------------------
|
||||
|
||||
Default value for :prop_tgt:`<LANG>_CPPCHECK` target property. This variable
|
||||
is used to initialize the property on each target as it is created. This
|
||||
is done only when ``<LANG>`` is ``C`` or ``CXX``.
|
||||
Reference in New Issue
Block a user