I have a CPPCheck 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 have manually added sections including "includedir", "defines", and "exclude" since the GUI won't allow me to add them when a visual studio project is selected. The CPPCheck config file shows the "importproject" tag with my visual studio project section as I think it should.
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."
Am I doing something wrong?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a CPPCheck 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 have manually added sections including "includedir", "defines", and "exclude" since the GUI won't allow me to add them when a visual studio project is selected. The CPPCheck config file shows the "importproject" tag with my visual studio project section as I think it should.
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."
Am I doing something wrong?