diff options
author | Olli Salli <ollisal@gmail.com> | 2011-05-25 16:56:50 +0300 |
---|---|---|
committer | Olli Salli <ollisal@gmail.com> | 2011-05-25 18:27:34 +0300 |
commit | 91e80d1888f2906b591f69ba630f95ccb825f617 (patch) | |
tree | af16daf93c68ed4415f2ef4e12f96942fa098c54 /qt4/cmake | |
parent | eff91ad9f7b026cf113d8425c399a783cfc3290e (diff) |
Crosslink our doxygen docs to Qt documentation
Diffstat (limited to 'qt4/cmake')
-rw-r--r-- | qt4/cmake/modules/Doxygen.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qt4/cmake/modules/Doxygen.cmake b/qt4/cmake/modules/Doxygen.cmake index 125887848..34ce86648 100644 --- a/qt4/cmake/modules/Doxygen.cmake +++ b/qt4/cmake/modules/Doxygen.cmake @@ -9,6 +9,13 @@ if(DOXYGEN_FOUND) include(FindPackageHandleStandardArgs) find_package_handle_standard_args(QHELPGENERATOR DEFAULT_MSG QHELPGENERATOR_EXECUTABLE) + set(QT_TAGS_FILE ${QT_DOC_DIR}/html/qt.tags) + if(NOT EXISTS ${QT_TAGS_FILE}) + message(WARNING "html/qt.tags not found in ${QT_DOC_DIR}. Set the QT_DOC_DIR variable to +point to its location to enable crosslinking.") + unset(QT_TAGS_FILE) + endif(NOT EXISTS ${QT_TAGS_FILE}) + set(abs_top_builddir ${CMAKE_BINARY_DIR}) set(abs_top_srcdir ${CMAKE_SOURCE_DIR}) set(GENERATE_HTML YES) |