Re: [PATCH 1/5] build: add target to run cppcheck

2017-08-27 Thread Jani Nikula
On Sat, 26 Aug 2017, David Bremner wrote: > The advantage of having a target as opposed to running cppcheck by > hand > > - reuse list of source files > - output errors in a format parsable, e.g. by emacs > - returns exit code 1 on any error, for possibly use in other > targets. > > Thin

[PATCH 1/5] build: add target to run cppcheck

2017-08-26 Thread David Bremner
The advantage of having a target as opposed to running cppcheck by hand - reuse list of source files - output errors in a format parsable, e.g. by emacs - returns exit code 1 on any error, for possibly use in other targets. Things not addressed here - parallelism. Doing this correctl