File indexing completed on 2024-12-08 04:17:26

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