How to run a saved project from the command line in CppCheck

I created a project in CppCheck with a name CppCheck_MainRls.cppcheck that includes several directories, I can start the project from gui and work. my project is huge, so I only need a few directories to go through CppCheck and export the result to an xml file (read jenkins later)

Current command line:

"C:\Program Files (x86)\Cppcheck\CppCheck.exe" --enable=all  --xml-version=2 "C:\Program Files (x86)\Jenkins\jobs\MainRls\workspace\Labs\VC++\AllShared" 2> cppcheck_result.xml

which works fine for the "AllShared" directory, how can I change it to read my project file?

+4
source share
1 answer

I am a cppcheck developer. Currently, you cannot use the gui project file directly in the shell client. However, it is a good idea to resolve this.

+4

All Articles