I am using Cppcheck GUI to scan my projects (new in Cppcheck, just starded to use it) and want to exclude some sub folders when I am scanning my project.
How to exclude some sub folder when scanning project folder with cppcheck GUI?
I have watched some videos on YouTube and tried to exclude as shown in this video but it still scanning excluded sub folders.
Thanks in advance.
Excluding a file or folder from checking To exclude a file or folder, there are two options. The first option is to only provide the paths and files you want to check.
cppcheck src/a src/b
All files under src/a and src/b are then checked. The second option is to use -i, with it you specify files/paths to ignore. With this command no files in src/c are checked:
cppcheck -isrc/c src
ref : http://cppcheck.sourceforge.net/manual.pdf
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With