Add cppcheck extra target to allow static analysis.
Cppcheck is a static analysis tool for C/C++ code. It provides unique code analysis to detect bugs and focuses on detecting undefined behaviour and dangerous coding constructs. The goal is to detect only real errors in the code (i.e. have very few false positives).
The original name of this program was "C++check", but it was later changed to "Cppcheck".
Despite the name, Cppcheck is designed for both C and C++.
To run target just type:
ninja cppcheck > /dev/null
Note: There is a problem with memory.cpp so cppcheck analysis ends about 30% completed.