finalcut/scripts/cppcheck.sh

10 lines
231 B
Bash
Raw Normal View History

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