Omegastick/pytorch-cpp-rl

consider using CMake's built in cppcheck support

billhoffman opened this issue · 2 comments

list(APPEND CPPCHECK_ARGS

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/

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"?

Gonna close this for now, because a seperate make check command is cleaner IMO.