diff options
author | Vincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com> | 2022-06-08 11:36:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-08 11:36:11 +0200 |
commit | fcf427c0c0518c20f1418117265b89b26bc86a47 (patch) | |
tree | d94731b581d631ba7774993522bdaa06c0217140 /src | |
parent | 9fb40abc9b8cd28b596ab400b5ada466d5d70c51 (diff) | |
parent | f045b0fe772e2c690d80aebcd31734700790c8a8 (diff) |
Merge pull request #632 from albert-github/feature/bug_class_diagrams
Documentation: Obsolete CLASS_DIAGRAMS
Diffstat (limited to 'src')
-rw-r--r-- | src/Doxyfile.in | 9 | ||||
-rw-r--r-- | src/cmake/modules/GUDHI_doxygen_target.cmake | 6 |
2 files changed, 7 insertions, 8 deletions
diff --git a/src/Doxyfile.in b/src/Doxyfile.in index 54ec9078..06a74012 100644 --- a/src/Doxyfile.in +++ b/src/Doxyfile.in @@ -2092,14 +2092,7 @@ EXTERNAL_PAGES = YES # Configuration options related to the dot tool #--------------------------------------------------------------------------- -# If the CLASS_DIAGRAMS tag is set to YES, doxygen will generate a class diagram -# (in HTML and LaTeX) for classes with base or super classes. Setting the tag to -# NO turns the diagrams off. Note that this option also works with HAVE_DOT -# disabled, but it is recommended to install and use dot, since it yields more -# powerful graphs. -# The default value is: YES. - -CLASS_DIAGRAMS = NO +@GUDHI_DOXYGEN_CLASS_DIAGRAMS@ # You can include diagrams made with dia in doxygen documentation. Doxygen will # then run dia to produce the diagram and insert it in the documentation. The diff --git a/src/cmake/modules/GUDHI_doxygen_target.cmake b/src/cmake/modules/GUDHI_doxygen_target.cmake index 6b9514de..327513da 100644 --- a/src/cmake/modules/GUDHI_doxygen_target.cmake +++ b/src/cmake/modules/GUDHI_doxygen_target.cmake @@ -45,6 +45,11 @@ if(DOXYGEN_FOUND) endif() message("++ Doxygen version ${DOXYGEN_VERSION}") + if (DOXYGEN_VERSION VERSION_LESS 1.9.3) + set(GUDHI_DOXYGEN_CLASS_DIAGRAMS "CLASS_DIAGRAMS = NO") + else() + set(GUDHI_DOXYGEN_CLASS_DIAGRAMS "") + endif() if (DOXYGEN_VERSION VERSION_LESS 1.9.2) set(GUDHI_DOXYGEN_MATHJAX_VERSION "MATHJAX_VERSION = MathJax_2") set(GUDHI_DOXYGEN_MATHJAX_EXTENSIONS "TeX/AMSmath TeX/AMSsymbols") @@ -52,6 +57,7 @@ if(DOXYGEN_FOUND) set(GUDHI_DOXYGEN_MATHJAX_VERSION "MATHJAX_VERSION = MathJax_3") set(GUDHI_DOXYGEN_MATHJAX_EXTENSIONS "ams") endif() + configure_file(${GUDHI_DOXYGEN_SOURCE_PREFIX}/Doxyfile.in "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile" @ONLY) add_custom_target(doxygen ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile |