I call cppcheck in our own files in our source database. However, some source files include header files from third-party libraries, such as from ./lib/some_library/ . They are also automatically analyzed by cppcheck.
I do not want this, since I do not want to see warnings about third-party code. Is there any way around this?
The difference with how I can say that cppcheck skips the header file is that this post explicitly asks to skip the entire directory, not just a separate header file.
cppcheck
Chiel ten brinke
source share