finalcut/scripts/cppcheck.sh

10 lines
201 B
Bash
Executable File

#!/bin/sh
if [ $# -gt 0 ]
then
eval cppcheck --force --std=c++11 --enable=all -I../src/include/ "$@"
else
eval cppcheck --force --std=c++11 --enable=all -I../src/include/ ../src/ ../examples/
fi