From 367da380f13f59ab85e253ae449ea48dd46a7d6a Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Tue, 27 Sep 2016 12:39:42 +0200 Subject: [PATCH] Move and regenerate list_of_documented_headers.cmake --- Installation/CMakeLists.txt | 2 +- .../{ => cmake/modules}/list_of_documented_headers.cmake | 7 +++++++ .../developer_scripts/generate_list_of_documented_headers | 6 ++++-- 3 files changed, 12 insertions(+), 3 deletions(-) rename Installation/{ => cmake/modules}/list_of_documented_headers.cmake (99%) diff --git a/Installation/CMakeLists.txt b/Installation/CMakeLists.txt index 83bd738b584..9fdcdcbe210 100644 --- a/Installation/CMakeLists.txt +++ b/Installation/CMakeLists.txt @@ -1096,7 +1096,7 @@ You must disable CGAL_ENABLE_CHECK_HEADERS.") endforeach() include_directories ( SYSTEM ${CGAL_3RD_PARTY_INCLUDE_DIRS} ) - include(${CMAKE_CURRENT_SOURCE_DIR}/list_of_documented_headers.cmake + include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules/list_of_documented_headers.cmake OPTIONAL RESULT_VARIABLE has_list_of_documented_headers) ## Loop on package and headers set(check_pkg_target_list) diff --git a/Installation/list_of_documented_headers.cmake b/Installation/cmake/modules/list_of_documented_headers.cmake similarity index 99% rename from Installation/list_of_documented_headers.cmake rename to Installation/cmake/modules/list_of_documented_headers.cmake index 9d3096a05d3..5b6fbe3b3e2 100644 --- a/Installation/list_of_documented_headers.cmake +++ b/Installation/cmake/modules/list_of_documented_headers.cmake @@ -3,6 +3,7 @@ set(list_of_documented_headers_txt [=[ CGAL/AABB_C3T3_triangle_primitive.h CGAL/AABB_face_graph_triangle_primitive.h CGAL/AABB_halfedge_graph_segment_primitive.h +CGAL/AABB_intersections.h CGAL/AABB_polyhedron_segment_primitive.h CGAL/AABB_polyhedron_triangle_primitive.h CGAL/AABB_primitive.h @@ -468,6 +469,7 @@ CGAL/lloyd_optimize_mesh_2.h CGAL/Location_policy.h CGAL/LSCM_parameterizer_3.h CGAL/make_mesh_3.h +CGAL/make_piecewise_smooth_surface_mesh.h CGAL/make_skin_surface_mesh_3.h CGAL/make_surface_mesh.h CGAL/Manhattan_distance_iso_box_point.h @@ -480,6 +482,7 @@ CGAL/Mesh_3/Dump_c3t3.h CGAL/Mesh_3/implicit_to_labeled_function_wrapper.h CGAL/Mesh_3/initialize_triangulation_from_labeled_image.h CGAL/Mesh_3/Labeled_mesh_domain_3.h +CGAL/Mesh_3/polyhedral_to_labeled_function_wrapper.h CGAL/Mesh_3/polylines_to_protect.h CGAL/Mesh_3/search_for_connected_components_in_labeled_image.h CGAL/Mesh_3/squared_distance_Point_3_Triangle_3.h @@ -527,6 +530,7 @@ CGAL/Multiscale_sort.h CGAL/Multiset.h CGAL/natural_neighbor_coordinates_2.h CGAL/natural_neighbor_coordinates_3.h +CGAL/Nef_3/Polygon_constructor.h CGAL/Nef_3/SNC_indexed_items.h CGAL/Nef_nary_union_3.h CGAL/Nef_polyhedron_2.h @@ -575,6 +579,7 @@ CGAL/Periodic_3_triangulation_filtered_traits_3.h CGAL/Periodic_3_triangulation_hierarchy_3.h CGAL/Periodic_3_triangulation_traits_3.h CGAL/perturb_mesh_3.h +CGAL/Piecewise_smooth_surface_mesh_default_edges_criteria_3.h CGAL/Plane_3.h CGAL/Plane_separator.h CGAL/Point_2.h @@ -600,6 +605,7 @@ CGAL/Polygon_mesh_processing/orient_polygon_soup.h CGAL/Polygon_mesh_processing/polygon_soup_to_polygon_mesh.h CGAL/Polygon_mesh_processing/refine.h CGAL/Polygon_mesh_processing/remesh.h +CGAL/Polygon_mesh_processing/repair.h CGAL/Polygon_mesh_processing/self_intersections.h CGAL/Polygon_mesh_processing/stitch_borders.h CGAL/Polygon_mesh_processing/triangulate_faces.h @@ -614,6 +620,7 @@ CGAL/Polygon_vertical_decomposition_2.h CGAL/Polygon_with_holes_2.h CGAL/Polyhedral_mesh_domain_3.h CGAL/Polyhedral_mesh_domain_with_features_3.h +CGAL/Polyhedral_surface_3.h CGAL/Polyhedron_3.h CGAL/polyhedron_cut_plane_3.h CGAL/Polyhedron_incremental_builder_3.h diff --git a/Scripts/developer_scripts/generate_list_of_documented_headers b/Scripts/developer_scripts/generate_list_of_documented_headers index 12da14f41a1..9e06808cae7 100755 --- a/Scripts/developer_scripts/generate_list_of_documented_headers +++ b/Scripts/developer_scripts/generate_list_of_documented_headers @@ -6,9 +6,11 @@ # `../build-doc/doc_output/` containing the build of the Doxygen # documentation. -printf "# Generated using $0\n" > list_of_documented_headers.cmake +file=cmake/modules/list_of_documented_headers.cmake -exec >> 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' --cpp --html '# *include *(<|[<"])(CGAL/[^>&]*)([>"]|>)' ../build-doc/doc_output ../*/examples/*/*.cpp | sort | uniq