File indexing completed on 2024-04-21 15:30:21

0001 #!/bin/bash
0002 # cppclean attempts to find problems in C++ source that slow development
0003 
0004 srcdir=$1
0005 builddir=$2
0006 
0007 cppclean --verbose $srcdir \
0008     --exclude *.moc \
0009     $(for i in $(find $srcdir -type d | egrep -v "(\.git|generated)") ; do echo -e "-I $i " ; done) \
0010     $(for i in $(find $builddir -type d | egrep -v "(CMakeFiles|Testing)") ; do echo -e "-I $i " ; done)
0011