lysdexicM to C++English · 1 year agoCppcheck: A tool for static C/C++ code analysiscppcheck.sourceforge.ioexternal-linkmessage-square1fedilinkarrow-up114arrow-down11
arrow-up113arrow-down1external-linkCppcheck: A tool for static C/C++ code analysiscppcheck.sourceforge.iolysdexicM to C++English · 1 year agomessage-square1fedilink
minus-squarelysdexicOPMlinkfedilinkEnglisharrow-up3·1 year agoCMake also helps integrate Cppcheck by setting a single CMake variable when configuring a CMake project: CMAKE_C_CPPCHECK and/or CMAKE_CXX_CPPCHECK. $ /usr/bin/cmake -DCMAKE_CXX_CPPCHECK:FILEPATH=cppcheck -B./build $ /usr/bin/cmake --build ./build Low-effort, high-reward.
CMake also helps integrate Cppcheck by setting a single CMake variable when configuring a CMake project:
CMAKE_C_CPPCHECK
and/orCMAKE_CXX_CPPCHECK
.$ /usr/bin/cmake -DCMAKE_CXX_CPPCHECK:FILEPATH=cppcheck -B./build $ /usr/bin/cmake --build ./build
Low-effort, high-reward.