remove list and list generator for documented headers and make compute_dependencies implied by enable_check_header

This commit is contained in:
Maxime Gimeno
2018-02-02 12:08:05 +01:00
parent 7fa4b380d2
commit 9fc057e1cf
3 changed files with 9 additions and 617 deletions
@@ -1,18 +0,0 @@
#!/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.
file=cmake/modules/list_of_documented_headers.cmake
printf "# Generated using $0\n" > "$file"
exec >> "$file"
printf 'set(list_of_documented_headers_txt [=[\n'
ack --no-heading --no-filename --output='$2' '# *include *(&lt;|[<"])(CGAL/[^>&]*)([>"]|&gt;)' ../build-doc/doc_output/*/*.html ../*/examples/*/*.cpp | sort | uniq
printf ']=])\n'
printf 'separate_arguments(list_of_documented_headers UNIX_COMMAND ${list_of_documented_headers_txt})\n'