Files
MySensors/.mystools/cppcheck/options.sh
T
Patrick Fallberg 2d5404de97 CppCheck cleanup (#975)
* Add support for inline cppcheck suppressions
* Clean out all known cppcheck issues
* Terminate toll-gate on found cppcheck issues
2017-11-07 20:37:36 +01:00

16 lines
635 B
Bash
Executable File

#!/bin/bash
OPTIONS="--quiet \
--error-exitcode=1 \
--force \
--enable=style,information \
-DCPPCHECK \
--language=c++ \
--library=${LIBRARY:-avr} \
--platform="${TOOLCONFIG}"/${PLATFORM:-avr.xml} \
--includes-file="${TOOLCONFIG}"/includes.cfg \
--inline-suppr \
--suppressions-list="${TOOLCONFIG}"/suppressions.cfg"
echo $OPTIONS