consider using CMake's built in cppcheck support
billhoffman opened this issue · 2 comments
billhoffman commented
Line 12 in b4a244e
You might want to consider using the built in cmake support for cppcheck:
https://blog.kitware.com/static-checks-with-cmake-cdash-iwyu-clang-tidy-lwyu-cpplint-and-cppcheck/
Omegastick commented
I was using that before, but I didn't like that it runs by default (it can take a while to run sometimes). Is there a way to use the built in support but still have running it be "opt-in"?
Omegastick commented
Gonna close this for now, because a seperate make check
command is cleaner IMO.