2001-10-24 01:06:19 +04:00
|
|
|
#
|
2001-10-24 01:47:32 +04:00
|
|
|
# this module looks for Doxygen and the path to Graphiz's dot
|
2001-10-24 01:06:19 +04:00
|
|
|
#
|
|
|
|
|
2005-07-13 17:08:47 +04:00
|
|
|
# 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
|
|
|
|
# seen, it is located in Resources, but in general, more often binaries are
|
|
|
|
# located in MacOS.
|
2001-10-24 01:06:19 +04:00
|
|
|
FIND_PROGRAM(DOXYGEN
|
|
|
|
doxygen
|
2004-06-09 01:26:48 +04:00
|
|
|
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\doxygen_is1;Inno Setup: App Path]/bin"
|
2005-07-13 17:08:47 +04:00
|
|
|
/Applications/Doxygen.app/Contents/Resources
|
|
|
|
/Applications/Doxygen.app/Contents/MacOS
|
2001-10-24 01:06:19 +04:00
|
|
|
)
|
2001-10-24 01:47:32 +04:00
|
|
|
|
2005-07-13 17:08:47 +04:00
|
|
|
# In the older versions of OS X Doxygen, dot was included with the
|
|
|
|
# Doxygen bundle. But the new versions place make you download Graphviz.app
|
|
|
|
# which contains dot in its bundle.
|
2001-10-24 01:47:32 +04:00
|
|
|
FIND_PROGRAM(DOT
|
|
|
|
dot
|
|
|
|
"C:/Program Files/ATT/Graphviz/bin"
|
2004-06-09 01:26:48 +04:00
|
|
|
[HKEY_LOCAL_MACHINE\\SOFTWARE\\ATT\\Graphviz;InstallPath]/bin
|
2005-07-13 17:08:47 +04:00
|
|
|
/Applications/Graphviz.app/Contents/MacOS
|
|
|
|
/Applications/Doxygen.app/Contents/Resources
|
|
|
|
/Applications/Doxygen.app/Contents/MacOS
|
|
|
|
)
|
|
|
|
|
|
|
|
# The Doxyfile wants the path to Dot, not the entire path and executable
|
|
|
|
# so for convenience, I'll add another search for DOT_PATH.
|
|
|
|
FIND_PATH(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
|
2001-10-24 01:47:32 +04:00
|
|
|
)
|
|
|
|
|
2001-12-04 18:55:17 +03:00
|
|
|
MARK_AS_ADVANCED(
|
|
|
|
DOT
|
2005-07-13 17:08:47 +04:00
|
|
|
DOT_PATH
|
2001-12-04 18:55:17 +03:00
|
|
|
DOXYGEN
|
|
|
|
)
|