I call cppcheck on our own files in our source base. However, some source files include header files from third party libraries, say from ./lib/some_library/
. These are automatically parsed by cppcheck as well.
I don't want this, since I don't want to see warnings on third party code. Is there a way to get around this?
The difference with how can i tell cppcheck to skip a header file is that this post explicitly asks for skipping an entire directory, not just an individual header file.