Commit 67873598 authored by Jeremy Cohen's avatar Jeremy Cohen

Turn of class graph generation when dot not found (#242)

parent 244f4842
Pipeline #2309 passed with stages
in 266 minutes and 2 seconds
......@@ -40,8 +40,15 @@ IF (NEKTAR_BUILD_DOC)
INSTALL(DIRECTORY ${PROJECT_BINARY_DIR}/docs/doxygen/html/
DESTINATION ${NEKTAR_DOC_DIR}/doxygen)
IF(DOXYGEN_DOT_EXECUTABLE)
MESSAGE(STATUS "Doxygen dot executable found. Enabling graph generation in docs...")
SET(DOXYGEN_DOT_AVAILABLE "YES")
ELSE()
MESSAGE(STATUS "Doxygen dot executable NOT found. Disabling graph generation in docs...")
SET(DOXYGEN_DOT_AVAILABLE "NO")
ENDIF()
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/docs/doxygen/Doxyfile.in
${PROJECT_BINARY_DIR}/docs/doxygen/Doxyfile @ONLY IMMEDIATE)
${PROJECT_BINARY_DIR}/docs/doxygen/Doxyfile @ONLY)
ADD_CUSTOM_TARGET(doc
COMMAND ${CMAKE_COMMAND} -E copy
......
......@@ -2106,7 +2106,7 @@ HIDE_UNDOC_RELATIONS = YES
# set to NO
# The default value is: NO.
HAVE_DOT = YES
HAVE_DOT = @DOXYGEN_DOT_AVAILABLE@
# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed
# to run in parallel. When set to 0 doxygen will base this on the number of
......@@ -2148,7 +2148,7 @@ DOT_FONTPATH =
# The default value is: YES.
# This tag requires that the tag HAVE_DOT is set to YES.
CLASS_GRAPH = YES
CLASS_GRAPH = @DOXYGEN_DOT_AVAILABLE@
# If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a
# graph for each documented class showing the direct and indirect implementation
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment