I use Wunused-parameter
for my project, but I want to have it ignore 3rd party headers (headers in specific directories). Is there a way I can set this with cmake
?
I'm currently setting the compiler options like this:
add_compile_options(-Wall -Wextra -pedantic -Werror -pedantic-errors -Wshadow -Wstrict-aliasing)