[Cmake-commits] [cmake-commits] lowman committed FindDoxygen.cmake 1.16 1.17
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Jan 28 22:56:40 EST 2009
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv15939
Modified Files:
FindDoxygen.cmake
Log Message:
STYLE: Reworded some of the OS-X code comments
Index: FindDoxygen.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindDoxygen.cmake,v
retrieving revision 1.16
retrieving revision 1.17
diff -C 2 -d -r1.16 -r1.17
*** FindDoxygen.cmake 20 Jan 2009 03:28:09 -0000 1.16
--- FindDoxygen.cmake 29 Jan 2009 03:56:38 -0000 1.17
***************
*** 1,8 ****
# - This module looks for Doxygen and the path to Graphviz's dot
! # Doxygen is a documentation generation tool see http://www.doxygen.org
#
# This module accepts the following optional variables:
#
# DOXYGEN_SKIP_DOT = If true this module will skip trying to find Dot
#
# This modules defines the following variables:
--- 1,10 ----
# - This module looks for Doxygen and the path to Graphviz's dot
! # Doxygen is a documentation generation tool. Please see
! # http://www.doxygen.org
#
# This module accepts the following optional variables:
#
# DOXYGEN_SKIP_DOT = If true this module will skip trying to find Dot
+ # (an optional component often used by Doxygen)
#
# This modules defines the following variables:
***************
*** 15,33 ****
# DOXYGEN_DOT_PATH = The path to dot not including the executable
#
! # Details for OSX Users:
! # 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.
#
! # The official Doxygen.app that is distributed for OS X uses non-standard
! # conventions. Instead of the command-line "doxygen" tool being placed in
# Doxygen.app/Contents/MacOS, "Doxywizard" is placed there instead and
! # "doxygen" is actually placed in Contents/Resources. This is most likely
! # to accomodate people who double-click on the Doxygen.app package and expect
! # to see something happen. However, the CMake backend gets horribly confused
! # by this. Once CMake sees the bundle, it indiscrimately uses Doxywizard
! # as the executable to use. The only work-around I have found is to disable
! # the app-bundle feature for only this command.
if(APPLE)
# Save the old setting
--- 17,42 ----
# DOXYGEN_DOT_PATH = The path to dot not including the executable
#
! #
!
! # For backwards compatibility support
! IF(Doxygen_FIND_QUIETLY)
! SET(DOXYGEN_FIND_QUIETLY TRUE)
! ENDIF(Doxygen_FIND_QUIETLY)
!
! # ===== Rationale for OS X AppBundle mods below =====
! # With the OS X GUI version, Doxygen 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.
#
! # NOTE: The official Doxygen.app that is distributed for OS X uses non-standard
! # conventions. Instead of the command-line "doxygen" tool being placed in
# Doxygen.app/Contents/MacOS, "Doxywizard" is placed there instead and
! # "doxygen" is placed in Contents/Resources. This is most likely done
! # so that something happens when people double-click on the Doxygen.app
! # package. Unfortunately, CMake gets confused by this as when it sees the
! # bundle it uses "Doxywizard" as the executable to use instead of
! # "doxygen". Therefore to work-around this issue we temporarily disable
! # the app-bundle feature, just for this CMake module:
if(APPLE)
# Save the old setting
***************
*** 38,53 ****
# FYI:
# 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.
# ============== End OSX stuff ================
-
- # For backwards compatibility support
- # DOXYGEN_FIND_QUIETLY, but it should have been
- # Doxygen_FIND_QUIETLY.
- IF(Doxygen_FIND_QUIETLY)
- SET(DOXYGEN_FIND_QUIETLY TRUE)
- ENDIF(Doxygen_FIND_QUIETLY)
-
#
# Find Doxygen...
--- 47,54 ----
# FYI:
# In the older versions of OS X Doxygen, dot was included with the
! # Doxygen bundle. But the new versions require you to download
! # Graphviz.app which contains "dot" in it's bundle.
# ============== End OSX stuff ================
#
# Find Doxygen...
***************
*** 117,121 ****
endif()
! # Backwards compatibility for CMake4.3 and less
SET (DOXYGEN ${DOXYGEN_EXECUTABLE} )
SET (DOT ${DOXYGEN_DOT_EXECUTABLE} )
--- 118,122 ----
endif()
! # For backwards compatibility support
SET (DOXYGEN ${DOXYGEN_EXECUTABLE} )
SET (DOT ${DOXYGEN_DOT_EXECUTABLE} )
More information about the Cmake-commits
mailing list