cppcheclipse is an Eclipse plugin which integrates cppcheck with the CDT project. You can run/configure cppcheck from the Eclipse UI.
To build the project on the command line it requires maven, Run the following commands:
cd com.googlecode.cppcheclipse.parent
mvn clean verify
It will not increment the version number nor deploy/publish/release the artifact. You can find the built p2 repository now in ../com.googlecode.cppcheclipse.repository/target in zip format.
NOTES:
- This plugin was originally developed in cppcheclipse project.
- Maven (3.9+) build will work under Java 17.
- Under Windows the
mvn clean verify
will fail because the unit test paths in unix format. As workaround skip the testsmvn clean package
should build successfully, but it will not create.
Further information on how to use and install cppcheclipse can be found in the wiki.