Only check the list of documented headers
That list of documented headers (contained in `Installation/list_of_documented_headers.cmake`) is generated using a shell script, with `ack`, by searching in the example .cpp files, and in the Doxygen compiled documentation.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Used to regenerate `Installation/list_of_documented_headers.cmake`
|
||||
#
|
||||
# Run it in the `Installation` directory of a Git layout, with
|
||||
# `../build-doc/doc_output/` containing the build of the Doxygen
|
||||
# documentation.
|
||||
|
||||
printf "# Generated using $0\n" > list_of_documented_headers.cmake
|
||||
|
||||
exec >> list_of_documented_headers.cmake
|
||||
|
||||
printf 'set(list_of_documented_headers_txt [=[\n'
|
||||
ack --no-heading --no-filename --output='$2' --cpp --html '# *include *(<|[<"])(CGAL/[^>&]*)([>"]|>)' ../build-doc/doc_output ../*/examples/*/*.cpp | sort | uniq
|
||||
printf ']=])\n'
|
||||
printf 'separate_arguments(list_of_documented_headers UNIX_COMMAND ${list_of_documented_headers_txt})\n'
|
||||
Reference in New Issue
Block a user