Handle the INPUT cases where the whole include dir is used

This commit is contained in:
Philipp Möller 2015-12-08 15:29:28 +01:00
parent 88c0db55ca
commit 79b7fc5081
19 changed files with 19 additions and 69 deletions

View File

@ -2,9 +2,6 @@
PROJECT_NAME = "CGAL ${CGAL_CREATED_VERSION_NUM} - 3D Fast Intersection and Distance Computation (AABB Tree)"
INPUT = ${CMAKE_SOURCE_DIR}/AABB_tree/doc/AABB_tree/ \
${CMAKE_SOURCE_DIR}/AABB_tree/include
EXTRACT_ALL = false
HIDE_UNDOC_MEMBERS = true
HIDE_UNDOC_CLASSES = true

View File

@ -1,10 +1,6 @@
@INCLUDE = ${CGAL_DOC_PACKAGE_DEFAULTS}
PROJECT_NAME = "CGAL ${CGAL_CREATED_VERSION_NUM} - Advancing Front Surface Reconstruction"
INPUT = ${CMAKE_SOURCE_DIR}/Advancing_front_surface_reconstruction/doc/Advancing_front_surface_reconstruction/ \
${CMAKE_SOURCE_DIR}/Advancing_front_surface_reconstruction/include
EXTRACT_ALL = false
HIDE_UNDOC_MEMBERS = true
HIDE_UNDOC_CLASSES = true

View File

@ -1,10 +1,6 @@
@INCLUDE = ${CGAL_DOC_PACKAGE_DEFAULTS}
PROJECT_NAME = "CGAL ${CGAL_CREATED_VERSION_NUM} - 2D Generalized Barycentric Coordinates"
INPUT = ${CMAKE_SOURCE_DIR}/Barycentric_coordinates_2/doc/Barycentric_coordinates_2/ \
${CMAKE_SOURCE_DIR}/Barycentric_coordinates_2/include
EXTRACT_ALL = false
HIDE_UNDOC_MEMBERS = true
HIDE_UNDOC_CLASSES = true

View File

@ -1,9 +1,5 @@
@INCLUDE = ${CGAL_DOC_PACKAGE_DEFAULTS}
PROJECT_NAME = "CGAL ${CGAL_CREATED_VERSION_NUM} - Convex Decomposition of Polyhedra"
INPUT = ${CMAKE_SOURCE_DIR}/Convex_decomposition_3/include \
${CMAKE_SOURCE_DIR}/Convex_decomposition_3/doc/Convex_decomposition_3/
EXTRACT_ALL = false
HIDE_UNDOC_CLASSES = true

View File

@ -21,10 +21,14 @@ endmacro()
function(configure_doxygen_package CGAL_PACKAGE_NAME)
if(CGAL_BRANCH_BUILD)
set(CGAL_PACKAGE_DOC_DIR ${CMAKE_SOURCE_DIR}/${CGAL_PACKAGE_NAME}/doc/${CGAL_PACKAGE_NAME})
set(CGAL_PACKAGE_DIR ${CMAKE_SOURCE_DIR}/${CGAL_PACKAGE_NAME})
else()
set(CGAL_PACKAGE_DOC_DIR ${CMAKE_SOURCE_DIR}/doc/${CGAL_PACKAGE_NAME})
set(CGAL_PACKAGE_DIR ${CMAKE_SOURCE_DIR})
endif()
set(CGAL_PACKAGE_DOC_DIR ${CGAL_PACKAGE_DIR}/doc/${CGAL_PACKAGE_NAME})
set(CGAL_PACKAGE_INCLUDE_DIR ${CGAL_PACKAGE_DIR}/include/)
if(NOT IS_DIRECTORY ${CGAL_PACKAGE_DOC_DIR})
message(STATUS "${CGAL_PACKAGE_NAME} reported but has no doc dir: ${CGAL_PACKAGE_DOC_DIR}")
return()
@ -32,7 +36,6 @@ function(configure_doxygen_package CGAL_PACKAGE_NAME)
message(STATUS "Configuring documentation of ${CGAL_PACKAGE_NAME}")
endif()
set(CGAL_PACKAGE_DIR ${CMAKE_SOURCE_DIR}/${CGAL_PACKAGE_NAME})
if(EXISTS ${CGAL_PACKAGE_DOC_DIR}/Doxyfile.in)
set(CGAL_DOC_PACKAGE_DEFAULTS ${CGAL_DOC_DXY_DIR}/${CGAL_PACKAGE_NAME}_defaults.dxy)
file(REMOVE ${CGAL_DOC_PACKAGE_DEFAULTS})
@ -60,6 +63,19 @@ function(configure_doxygen_package CGAL_PACKAGE_NAME)
file(APPEND ${CGAL_DOC_PACKAGE_DEFAULTS} "ALIASES += \"cgalPkgDescriptionBegin{2}=\\details \"\n")
file(APPEND ${CGAL_DOC_PACKAGE_DEFAULTS} "ALIASES += \"cgalPkgManuals{2}=<BR>\"\n")
file(APPEND ${CGAL_DOC_PACKAGE_DEFAULTS} "INPUT = ${CGAL_PACKAGE_DOC_DIR}\n")
if(NOT EXISTS "${CGAL_PACKAGE_DOC_DIR}/CGAL")
# This package has in-source documentation.
if(CGAL_BRANCH_BUILD) # use the entire include subdir
file(APPEND ${CGAL_DOC_PACKAGE_DEFAULTS} "INPUT += ${CGAL_PACKAGE_DIR}/include/\n")
else() # use the filelist
if(EXITS "${CGAL_PACKAGE_DOC_DIR}/filelist.txt")
file(STRINGS "${CGAL_PACKAGE_DOC_DIR}/filelist.txt" CGAL_PKG_FILES)
foreach(pkg_file ${CGAL_PKG_FILES})
file(APPEND ${CGAL_DOC_PACKAGE_DEFAULTS} "INPUT += ${CGAL_PACKAGE_DIR}/include/${pkg_file}\n")
endforeach()
endif()
endif()
endif()
# IMAGE_PATH is set by default. For Documentation, we generate the extra path using packages.txt
set(IMAGE_PATH_VALUES "IMAGE_PATH = ${CGAL_PACKAGE_DOC_DIR}/fig")

View File

@ -1,10 +1,6 @@
@INCLUDE = ${CGAL_DOC_PACKAGE_DEFAULTS}
PROJECT_NAME = "CGAL ${CGAL_CREATED_VERSION_NUM} - 3D Minkowski Sum of Polyhedra"
INPUT = ${CMAKE_SOURCE_DIR}/Minkowski_sum_3/doc/Minkowski_sum_3/ \
${CMAKE_SOURCE_DIR}/Minkowski_sum_3/include/
HIDE_UNDOC_MEMBERS = true
HIDE_UNDOC_CLASSES = true
EXTRACT_ALL = false

View File

@ -1,10 +1,6 @@
@INCLUDE = ${CGAL_DOC_PACKAGE_DEFAULTS}
PROJECT_NAME = "CGAL ${CGAL_CREATED_VERSION_NUM} - Point Set Processing"
INPUT = ${CMAKE_SOURCE_DIR}/Point_set_processing_3/doc/Point_set_processing_3/ \
${CMAKE_SOURCE_DIR}/Point_set_processing_3/include
EXCLUDE_PATTERNS += property_map.h

View File

@ -1,9 +1,6 @@
@INCLUDE = ${CGAL_DOC_PACKAGE_DEFAULTS}
PROJECT_NAME = "CGAL ${CGAL_CREATED_VERSION_NUM} - Point Set Shape Detection"
INPUT = ${CMAKE_SOURCE_DIR}/Point_set_shape_detection_3/doc/Point_set_shape_detection_3/ \
${CMAKE_SOURCE_DIR}/Point_set_shape_detection_3/include/
EXTRACT_ALL = NO
HIDE_UNDOC_CLASSES = YES
WARN_IF_UNDOCUMENTED = NO

View File

@ -1,9 +1,6 @@
@INCLUDE = ${CGAL_DOC_PACKAGE_DEFAULTS}
PROJECT_NAME = "CGAL ${CGAL_CREATED_VERSION_NUM} - Poisson Surface Reconstruction"
INPUT = ${CMAKE_SOURCE_DIR}/Poisson_surface_reconstruction_3/doc/Poisson_surface_reconstruction_3/ \
${CMAKE_SOURCE_DIR}/Poisson_surface_reconstruction_3/include
EXTRACT_ALL = false
HIDE_UNDOC_CLASSES = true
WARN_IF_UNDOCUMENTED = false

View File

@ -1,10 +1,6 @@
@INCLUDE = ${CGAL_DOC_PACKAGE_DEFAULTS}
PROJECT_NAME = "CGAL ${CGAL_CREATED_VERSION_NUM} - 2D Polygons"
INPUT = ${CMAKE_SOURCE_DIR}/Polygon/doc/Polygon/ \
${CMAKE_SOURCE_DIR}/Polygon/include
EXTRACT_ALL = false
HIDE_UNDOC_MEMBERS = true
HIDE_UNDOC_CLASSES = true

View File

@ -1,9 +1,6 @@
@INCLUDE = ${CGAL_DOC_PACKAGE_DEFAULTS}
PROJECT_NAME = "CGAL ${CGAL_CREATED_VERSION_NUM} - Polygon Mesh Processing"
INPUT = ${CMAKE_SOURCE_DIR}/Polygon_mesh_processing/doc/Polygon_mesh_processing/ \
${CMAKE_SOURCE_DIR}/Polygon_mesh_processing/include
# custom options for this package
EXTRACT_ALL = false
HIDE_UNDOC_CLASSES = true

View File

@ -1,10 +1,3 @@
@INCLUDE = ${CGAL_DOC_PACKAGE_DEFAULTS}
PROJECT_NAME = "CGAL ${CGAL_CREATED_VERSION_NUM} - 2D Polyline Simplification"
INPUT = ${CMAKE_SOURCE_DIR}/Polyline_simplification_2/doc/Polyline_simplification_2/ \
${CMAKE_SOURCE_DIR}/Polyline_simplification_2/include

View File

@ -1,9 +1,6 @@
@INCLUDE = ${CGAL_DOC_PACKAGE_DEFAULTS}
PROJECT_NAME = "CGAL ${CGAL_CREATED_VERSION_NUM} - Scale-Space Surface Reconstruction"
INPUT = ${CMAKE_SOURCE_DIR}/Scale_space_reconstruction_3/
EXTRACT_ALL = NO
HIDE_UNDOC_CLASSES = YES
HIDE_UNDOC_MEMBERS = YES

View File

@ -1,8 +1,5 @@
@INCLUDE = ${CGAL_DOC_PACKAGE_DEFAULTS}
PROJECT_NAME = "CGAL ${CGAL_CREATED_VERSION_NUM} - Surface Mesh"
INPUT = ${CMAKE_SOURCE_DIR}/Surface_mesh/doc/Surface_mesh/ \
${CMAKE_SOURCE_DIR}/Surface_mesh/include
MULTILINE_CPP_IS_BRIEF = YES

View File

@ -1,10 +1,6 @@
@INCLUDE = ${CGAL_DOC_PACKAGE_DEFAULTS}
PROJECT_NAME = "CGAL ${CGAL_CREATED_VERSION_NUM} - Planar Parameterization of Triangulated Surface Meshes"
INPUT = ${CMAKE_SOURCE_DIR}/Surface_mesh_parameterization/doc/Surface_mesh_parameterization/ \
${CMAKE_SOURCE_DIR}/Surface_mesh_parameterization/include
EXTRACT_ALL = false
HIDE_UNDOC_CLASSES = true
WARN_IF_UNDOCUMENTED = false

View File

@ -1,9 +1,6 @@
@INCLUDE = ${CGAL_DOC_PACKAGE_DEFAULTS}
PROJECT_NAME = "CGAL ${CGAL_CREATED_VERSION_NUM} - Triangulated Surface Mesh Segmentation"
INPUT = ${CMAKE_SOURCE_DIR}/Surface_mesh_segmentation/doc/Surface_mesh_segmentation/ \
${CMAKE_SOURCE_DIR}/Surface_mesh_segmentation/include
# custom options for this package
EXTRACT_ALL = false
HIDE_UNDOC_CLASSES = true

View File

@ -1,8 +1,5 @@
@INCLUDE = ${CGAL_DOC_PACKAGE_DEFAULTS}
PROJECT_NAME = "CGAL ${CGAL_CREATED_VERSION_NUM} - Triangulated Surface Mesh Shortest Paths"
INPUT = ${CMAKE_SOURCE_DIR}/Surface_mesh_shortest_path/doc/Surface_mesh_shortest_path/ \
${CMAKE_SOURCE_DIR}/Surface_mesh_shortest_path/include
INTERNAL_DOCS = NO
EXTRACT_ALL = NO
HIDE_UNDOC_CLASSES = YES

View File

@ -1,9 +1,6 @@
@INCLUDE = ${CGAL_DOC_PACKAGE_DEFAULTS}
PROJECT_NAME = "CGAL ${CGAL_CREATED_VERSION_NUM} - Triangulated Surface Mesh Skeletonization"
INPUT = ${CMAKE_SOURCE_DIR}/Surface_mesh_skeletonization/doc/Surface_mesh_skeletonization/ \
${CMAKE_SOURCE_DIR}/Surface_mesh_skeletonization/include
EXTRACT_ALL = false
HIDE_UNDOC_MEMBERS = true
HIDE_UNDOC_CLASSES = true

View File

@ -1,10 +1,6 @@
@INCLUDE = ${CGAL_DOC_PACKAGE_DEFAULTS}
PROJECT_NAME = "CGAL ${CGAL_CREATED_VERSION_NUM} - Triangulated Surface Mesh Deformation"
INPUT = ${CMAKE_SOURCE_DIR}/Surface_modeling/doc/Surface_modeling/ \
${CMAKE_SOURCE_DIR}/Surface_modeling/include
EXTRACT_ALL = false
HIDE_UNDOC_MEMBERS = true
HIDE_UNDOC_CLASSES = true