-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcppcheck.sh
More file actions
executable file
·30 lines (27 loc) · 822 Bytes
/
Copy pathcppcheck.sh
File metadata and controls
executable file
·30 lines (27 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh
#CPPCHECK=/home/masarati/tmp/cppcheck-1.46.1/cppcheck
CPPCHECK=cppcheck
SRCDIR=~/Lavoro/mbdyn/mbdyn-src
BLDDIR=~/Lavoro/mbdyn/mbdyn-devel
$CPPCHECK --enable=all --force \
-I $BLDDIR/include/ \
-I $SRCDIR/include/ \
-I $SRCDIR/libraries/libann/ \
-I $SRCDIR/libraries/libcolamd/ \
-I $SRCDIR/libraries/libmbc \
-I $SRCDIR/libraries/libmbmath \
-I $SRCDIR/libraries/libmbutil/ \
-I $SRCDIR/libraries/libmbwrap/ \
-I $SRCDIR/libraries/libnaive/ \
-I $SRCDIR/libraries/libobjs/ \
-I $SRCDIR/libraries/liby12/ \
-I $SRCDIR/mbdyn/ \
-I $SRCDIR/mbdyn/aero/ \
-I $SRCDIR/mbdyn/base/ \
-I $SRCDIR/mbdyn/elec/ \
-I $SRCDIR/mbdyn/hydr/ \
-I $SRCDIR/mbdyn/struct/ \
-I $SRCDIR/mbdyn/thermo/ \
-I $SRCDIR/modules/ \
$SRCDIR/libraries/ $SRCDIR/mbdyn/ $SRCDIR/utils/ $SRCDIR/modules/ \
> x.log 2> x.err