finalcut/scripts/cppcheck.sh

10 lines
201 B
Bash
Raw Normal View History

#!/bin/sh
2015-05-23 13:35:12 +02:00
if [ $# -gt 0 ]
then
eval cppcheck --force --std=c++11 --enable=all -I../src/include/ "$@"
2015-05-23 13:35:12 +02:00
else
eval cppcheck --force --std=c++11 --enable=all -I../src/include/ ../src/ ../examples/
2015-05-23 13:35:12 +02:00
fi