-
- Downloads
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.
Showing
- Help/manual/cmake-properties.7.rst 1 addition, 0 deletionsHelp/manual/cmake-properties.7.rst
- Help/manual/cmake-variables.7.rst 1 addition, 0 deletionsHelp/manual/cmake-variables.7.rst
- Help/prop_tgt/LANG_CPPCHECK.rst 13 additions, 0 deletionsHelp/prop_tgt/LANG_CPPCHECK.rst
- Help/release/dev/add-cppcheck.rst 7 additions, 0 deletionsHelp/release/dev/add-cppcheck.rst
- Help/variable/CMAKE_LANG_CPPCHECK.rst 6 additions, 0 deletionsHelp/variable/CMAKE_LANG_CPPCHECK.rst
- Source/cmMakefileTargetGenerator.cxx 10 additions, 2 deletionsSource/cmMakefileTargetGenerator.cxx
- Source/cmNinjaTargetGenerator.cxx 10 additions, 2 deletionsSource/cmNinjaTargetGenerator.cxx
- Source/cmTarget.cxx 2 additions, 0 deletionsSource/cmTarget.cxx
- Source/cmcmd.cxx 60 additions, 7 deletionsSource/cmcmd.cxx
- Tests/RunCMake/CMakeLists.txt 2 additions, 0 deletionsTests/RunCMake/CMakeLists.txt
- Tests/RunCMake/CommandLine/E___run_iwyu-no-iwyu-stderr.txt 1 addition, 1 deletionTests/RunCMake/CommandLine/E___run_iwyu-no-iwyu-stderr.txt
- Tests/RunCMake/Cppcheck/C-Build-stdout.txt 1 addition, 0 deletionsTests/RunCMake/Cppcheck/C-Build-stdout.txt
- Tests/RunCMake/Cppcheck/C-launch-Build-stdout.txt 1 addition, 0 deletionsTests/RunCMake/Cppcheck/C-launch-Build-stdout.txt
- Tests/RunCMake/Cppcheck/C-launch.cmake 3 additions, 0 deletionsTests/RunCMake/Cppcheck/C-launch.cmake
- Tests/RunCMake/Cppcheck/C.cmake 4 additions, 0 deletionsTests/RunCMake/Cppcheck/C.cmake
- Tests/RunCMake/Cppcheck/CMakeLists.txt 3 additions, 0 deletionsTests/RunCMake/Cppcheck/CMakeLists.txt
- Tests/RunCMake/Cppcheck/CXX-Build-stdout.txt 1 addition, 0 deletionsTests/RunCMake/Cppcheck/CXX-Build-stdout.txt
- Tests/RunCMake/Cppcheck/CXX-launch-Build-stdout.txt 1 addition, 0 deletionsTests/RunCMake/Cppcheck/CXX-launch-Build-stdout.txt
- Tests/RunCMake/Cppcheck/CXX-launch.cmake 3 additions, 0 deletionsTests/RunCMake/Cppcheck/CXX-launch.cmake
- Tests/RunCMake/Cppcheck/CXX.cmake 3 additions, 0 deletionsTests/RunCMake/Cppcheck/CXX.cmake
Loading