Skip to content

Consolidating the config files from the main ITK directory and the wrapping directory #5295

@albert-github

Description

@albert-github

Consolidating the config files from the main ITK directory and the wrapping directory

Description

Based on #5293 (comment) and the further discussion in #5293

The complete difference between the files:

diff -b -w Utilities/Doxygen/DoxygenConfig.cmake Wrapping/DoxygenConfig.cmake
7c7
< set(DOXYGEN_OUTPUT_DIRECTORY "${ITK_DOXYGEN_OUTPUT_DIR}")
---
> set(DOXYGEN_OUTPUT_DIRECTORY "${ITK_WRAP_DOC_LIBRARY_DIR}")
20,22c20
<     "endsphinx=^^ ^^ ^^"
<     "ITKStartGrouping=@{"
<     "ITKEndGrouping=@}")
---
>     "endsphinx=^^ ^^ ^^")
61,62d58
< set(DOXYGEN_GENERATE_TREEVIEW "YES")
< set(DOXYGEN_DISABLE_INDEX "YES")
76d71
< set(DOXYGEN_MATHJAX_VERSION "MathJax_2")
78d72
< if(ITK_DOXYGEN_SERVER_BASED_SEARCH)
80,82d73
< else()
<   set(DOXYGEN_SERVER_BASED_SEARCH "NO")
< endif()
173,190d163
<
< foreach(
<   _FORMAT IN
<   ITEMS HTML
<         DOCSET
<         CHM
<         QHP
<         ECLIPSEHELP
<         LATEX
<         RTF
<         XML)
<   # map ON/OFF to YES/NO
<   if(ITK_DOXYGEN_${_FORMAT})
<     set(DOXYGEN_GENERATE_${_FORMAT} "YES")
<   else()
<     set(DOXYGEN_GENERATE_${_FORMAT} "NO")
<   endif()
< endforeach()

The config files are used in:
Utilities/Doxygen/CMakeLists.txt and Wrapping/macro_files/itk_end_wrap_module.cmake
in the later there is even the remark:

 # NOTE: The Configuration files should be placed in the itk package directory.

Expected information

One doxygen configuration file

Actual information

2 different configuration files

Versions

master version (993fc93)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions