ENH: fix more doxygen issues
This commit is contained in:
parent
ae5df56bbc
commit
112dadc0e8
|
@ -1,4 +1,4 @@
|
|||
# - This module looks for Doxygen and the path to Graphiz's dot
|
||||
# - This module looks for Doxygen and the path to Graphviz's dot
|
||||
# Doxygen is a documentation generation tool see http://www.doxygen.org
|
||||
# With the OS X GUI version, it likes to be installed to /Applications and
|
||||
# it contains the doxygen executable in the bundle. In the versions I've
|
||||
|
@ -6,6 +6,7 @@
|
|||
# located in MacOS. This code sets the following variables:
|
||||
# DOXYGEN_EXECUTABLE = The path to the doxygen command.
|
||||
# DOXYGEN_DOT_EXECUTABLE = The path to the dot program used by doxygen.
|
||||
# DOXYGEN_DOT_PATH = The path to dot not including the executable
|
||||
# DOXYGEN = same as DOXYGEN_EXECUTABLE for backwards compatibility
|
||||
# DOT = same as DOXYGEN_DOT_EXECUTABLE for backwards compatibility
|
||||
|
||||
|
@ -64,30 +65,20 @@ FIND_PROGRAM(DOXYGEN_DOT_EXECUTABLE
|
|||
/Applications/Graphviz.app/Contents/MacOS
|
||||
/Applications/Doxygen.app/Contents/Resources
|
||||
/Applications/Doxygen.app/Contents/MacOS
|
||||
DOC "Graphiz Dot tool for using Doxygen"
|
||||
DOC "Graphviz Dot tool for using Doxygen"
|
||||
)
|
||||
|
||||
IF (NOT DOXYGEN_FIND_QUIETLY)
|
||||
IF (DOXYGEN_DOT_EXECUTABLE)
|
||||
MESSAGE(STATUS "Looking for dot tool... - found ${DOXYGEN_DOT_EXECUTABLE}")
|
||||
# The Doxyfile wants the path to Dot, not the entire path and executable
|
||||
GET_FILENAME_COMPONENT(DOXYGEN_DOT_PATH "${DOXYGEN_DOT_EXECUTABLE}" PATH CACHE)
|
||||
ELSE (DOXYGEN_DOT_EXECUTABLE)
|
||||
MESSAGE(STATUS "Looking for dot tool... - NOT found")
|
||||
ENDIF (DOXYGEN_DOT_EXECUTABLE)
|
||||
ENDIF (NOT DOXYGEN_FIND_QUIETLY)
|
||||
|
||||
|
||||
# The Doxyfile wants the path to Dot, not the entire path and executable
|
||||
# so for convenience, I'll add another search for DOXYGEN_DOT_PATH.
|
||||
FIND_PATH(DOXYGEN_DOT_PATH
|
||||
dot
|
||||
"C:/Program Files/ATT/Graphviz/bin"
|
||||
[HKEY_LOCAL_MACHINE\\SOFTWARE\\ATT\\Graphviz;InstallPath]/bin
|
||||
/Applications/Graphviz.app/Contents/MacOS
|
||||
/Applications/Doxygen.app/Contents/Resources
|
||||
/Applications/Doxygen.app/Contents/MacOS
|
||||
DOC "Path to the Graphviz Dot tool"
|
||||
)
|
||||
|
||||
# Restore the old app-bundle setting setting
|
||||
SET(CMAKE_FIND_APPBUNDLE ${TEMP_DOXYGEN_SAVE_CMAKE_FIND_APPBUNDLE})
|
||||
|
||||
|
|
Loading…
Reference in New Issue