mirror of https://github.com/CGAL/cgal
small script to find which non-DEBUG macro i use in my code
This commit is contained in:
parent
ec06c9f042
commit
fea12e811b
|
|
@ -1809,6 +1809,7 @@ Surface_mesher/examples/Surface_mesher/inputs/boeing.off -text svneol=unset#appl
|
|||
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
|
||||
Surface_mesher/find_non_header_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
|
||||
|
|
|
|||
|
|
@ -11,3 +11,4 @@ NOTICE
|
|||
internal-test-surface-mesher.C
|
||||
makefile.dependencies
|
||||
find_debug_macros
|
||||
find_non_header_macros
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
grep -Er '# *(if|define).*CGAL' "${@:-.}" | \
|
||||
perl -ne '/(CGAL_[[:alnum:]_]*)/ && print "$1\n"' | \
|
||||
sort -u | grep -Ev '(_H$|DEBUG)'
|
||||
Loading…
Reference in New Issue