qcollectiongenerator (comes with Qt Assistant) is now also required for building the documentation. This allows us to open the Doxygen-generated docs in Qt Assistant and have them fully searchable. This should all work on Windows too as long as Doxygen is installed.

See the changes to INSTALL.txt for details of the change.
This commit is contained in:
Matt Williams
2010-07-01 12:57:37 +00:00
parent d76a40d5c9
commit 16ed15ee5f
5 changed files with 48 additions and 9 deletions

View File

@ -40,6 +40,13 @@ IF(BUILD_TESTING)
ADD_SUBDIRECTORY(tests)
ENDIF(BUILD_TESTING)
#Check if we will be making the 'doc' target available
IF(DOXYGEN_FOUND AND QT_QCOLLECTIONGENERATOR_EXECUTABLE)
SET(BUILD_DOCS YES)
ELSE()
SET(BUILD_DOCS NO)
ENDIF()
# Option summary
MESSAGE(STATUS "")
@ -47,5 +54,5 @@ MESSAGE(STATUS "Summary")
MESSAGE(STATUS "-------")
MESSAGE(STATUS "Build examples: " ${ENABLE_EXAMPLES})
MESSAGE(STATUS "Build tests: " ${BUILD_TESTING})
MESSAGE(STATUS "API Docs available: " ${DOXYGEN_FOUND})
MESSAGE(STATUS "API Docs available: " ${BUILD_DOCS})
MESSAGE(STATUS "")