c755a-cppcheck is a set of shell script and cppcheck configuration for C755A project.
- cppcheck version 1.72 or later
Copy kcehcppc.sh
and c755a.cfg
files to the root of C755A source repository.
cp kcehcppc.sh c755a.cfg c755a-src
./kcehcppc.sh -l warning tmc/enc
You can redirect the output from cppcheck
to a separate file like this.
./kcehcppc.sh -l warning tmc/enc 2> cppcheck.txt
You can also produce cppcheck
output in XML format so that you can use cppcheck-htmlreport
with it.
./kcehcppc.sh -l warning -x tmc/enc 2> cppcheck.xml
cppcheck-htmlreport --title="tmc/enc" --file=cppcheck.xml --report-dir=cppcheck