2 points

CMake 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.

permalink
report
reply

C++

!cpp@programming.dev

Create post

The center for all discussion and news regarding C++.

Rules

  • Respect instance rules.
  • Don’t be a jerk.
  • Please keep all posts related to C++.

Community stats

  • 1

    Monthly active users

  • 125

    Posts

  • 79

    Comments