Skip to content

Commit 02eb014

Browse files
committed
DOC: Consolidating doxygen config files
- Use in the wrapping process the same configuration file for the documentation as in case for the normal documentation. - remove the now obsolete wrapping doxygen configuration file
1 parent 5c7dc6d commit 02eb014

2 files changed

Lines changed: 3 additions & 166 deletions

File tree

Wrapping/DoxygenConfig.cmake

Lines changed: 0 additions & 163 deletions
This file was deleted.

Wrapping/macro_files/itk_end_wrap_module.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,20 +497,20 @@ ${DO_NOT_WAIT_FOR_THREADS_CALLS}
497497
# run doxygen
498498

499499
# create the target doc dir
500-
set(ITK_WRAP_DOC_LIBRARY_DIR "${CMAKE_CURRENT_BINARY_DIR}/Doc"
500+
set(ITK_DOXYGEN_OUTPUT_DIR "${CMAKE_CURRENT_BINARY_DIR}/Doc"
501501
)# Library documentation interface files building directory
502502
# TODO: direct name of the library dir?
503503
file(MAKE_DIRECTORY ${ITK_WRAP_DOC_LIBRARY_DIR})
504504

505505
# The DoxygenConfig.cmake is a replacement for configuring a doxygen.config.in file
506506
# https://cmake.org/cmake/help/v3.16/module/FindDoxygen.html
507-
include(${WRAP_ITK_CMAKE_DIR}/DoxygenConfig.cmake)
507+
include(${ITK_SOURCE_DIR}/Utilities/Doxygen/DoxygenConfig.cmake)
508508
doxygen_add_docs(
509509
${WRAPPER_LIBRARY_NAME}Doxygen ${ITK_WRAP_DOC_DOXYGEN_HEADERS} ALL
510510
WORKING_DIRECTORY ${ITK_WRAP_DOC_LIBRARY_DIR} USE_STAMP_FILE
511511
COMMENT "-- Wrapping library ${WRAPPER_LIBRARY_NAME}: Constructing documentation xml structure.")
512512
add_dependencies(${lib} ${WRAPPER_LIBRARY_NAME}Doxygen)
513-
unset(ITK_WRAP_DOC_LIBRARY_DIR)
513+
unset(ITK_DOXYGEN_OUTPUT_DIR)
514514
endif()
515515

516516
# Add testing

0 commit comments

Comments
 (0)