0

I'm using cppcheck to analyse C source code

Using this command : cppcheck --enable=warning inputpath1 inputpath2 inputpath3 -iexcludepath1 excludepath2 --xml -U_DEBUG 2> .\CppCheckReport.xml

I'm able to generate an XMl report which contains the analyse results of the three input files with the exclusion of the exclude file1 only. I need to exclude the two files using the -i option one time that's mean that I don't want to use this command : cppcheck --enable=warning inputpath1 inputpath2 inputpath3 -iexcludepath1 -iexcludepath2 --xml -U_DEBUG 2> .\CppCheckReport.xml

Is there any other method to exclude multiple files using cppcheck command ?

0 Answers0