File indexing completed on 2024-04-21 15:58:51

0001 #!/bin/sh
0002 #
0003 # Skrooge coding style is defined in http://techbase.kde.org/Policies/Kdelibs_Coding_Style 
0004 #
0005 P="@CMAKE_SOURCE_DIR@"
0006 echo "Applying astyle rules…"
0007 astyle -n -v --indent=spaces=4 --style=linux --align-pointer=type  \
0008        --indent-labels --pad-oper --unpad-paren --pad-header \
0009        --keep-one-line-statements --convert-tabs \
0010        --indent-preprocessor --add-brackets \
0011        $P/*/*.cpp $P/*/*.h $P/*/*/*.cpp $P/*/*/*.h $P/*/*/*/*.cpp $P/*/*/*/*.h $P/*/*/*/*/*.cpp $P/*/*/*/*/*.h 
0012        
0013 echo "Done!"