small script to find which DEBUG macro i use in my code

This commit is contained in:
Laurent Rineau 2006-07-07 09:58:53 +00:00
parent 617d4f64dc
commit ceffe07d4e
3 changed files with 7 additions and 0 deletions

1
.gitattributes vendored
View File

@ -1808,6 +1808,7 @@ Surface_mesher/examples/Surface_mesher/inputs/ALSTOM_TEST4.off -text svneol=unse
Surface_mesher/examples/Surface_mesher/inputs/boeing.off -text svneol=unset#application/octet-stream
Surface_mesher/examples/Surface_mesher/inputs/geosphere.off -text svneol=unset#application/octet-stream
Surface_mesher/examples/Surface_mesher/inputs/triceratops.off -text svneol=unset#application/octet-stream
Surface_mesher/find_debug_macros -text
Triangulation_2/demo/Triangulation_2/help/cindex.html svneol=native#text/html
Triangulation_2/demo/Triangulation_2/help/cinput_point_layer.gif -text svneol=unset#image/gif
Triangulation_2/demo/Triangulation_2/help/conflict_zone.gif -text svneol=unset#image/gif

View File

@ -10,3 +10,4 @@ inputs
NOTICE
internal-test-surface-mesher.C
makefile.dependencies
find_debug_macros

View File

@ -0,0 +1,5 @@
#!/bin/sh
grep -r 'DEBUG' "${@:-.}" | \
perl -ne '/(CGAL_[[:alnum:]_]*DEBUG[[:alnum:]_]*)/ && print "$1\n"' | \
sort -u