You must log in or register to comment.
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.