CPPCheck command line not accepting GUI Project File with Visual Studio .sln file.
I have a GUI project set up to run against a Visual Studio solution file with a particular configuration including some defines, some “Types and Functions” libraries selected, and some files excluded. I also need to use the inline suppression feature that is only available by running the command line version using the –inline-suppr option. However, when I try to run:
cppcheck.exe –inline-suppr –project=MyProject.cppcheck
I get the error: “cppcheck: error: no C or C++ source files found.”
How can I do all this? Is there an option for setting inline-suppr from the GUI?
Read more here: Source link