Script cpplint-to-cppcheckxml is used to convert cpplint xml result into cppcheck xml result. It is adapted from the same script osrf/gazebo on bitbucket. This script uses pygrok instead of regex. This script is created because the old implementation does not handle character [ in cpplint message segment.
- Install pygrok from https://github.com/garyelephant/pygrok
- Copy file cpplint-to-cppcheckxml.py into /usr/local/bin
- Make cpplint-to-cppcheck.py executable,
sudo chmod +x /usr/local/bin/cpplint-to-cppcheckxml.py