added script for running cppcheck
authorJean-Philippe Orsini <jeanfi@gmail.com>
Thu, 13 Sep 2012 13:24:12 +0000 (13:24 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Thu, 13 Sep 2012 13:24:12 +0000 (13:24 +0000)
scripts/cppcheck.sh [new file with mode: 0755]

diff --git a/scripts/cppcheck.sh b/scripts/cppcheck.sh
new file mode 100755 (executable)
index 0000000..1618eef
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+SDIR=`dirname $0`/..
+
+cppcheck $SDIR/src  -I $SDIR/src -I $SDIR/src/lib --enable=all >cppcheck.out
\ No newline at end of file