Commit 11cba222 authored by Mike Kremer's avatar Mike Kremer

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@12510 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 153f0a55
include (ACGDoxygen)
IF (DOXYGEN_FOUND)
set(developer_html_doc_dir "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Help/html")
set(developer_qt_help_dir "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Help")
# Create directories in order to avoid doxygen warnings
if(NOT (IS_DIRECTORY ${developer_qt_help_dir}) )
file(MAKE_DIRECTORY ${developer_qt_help_dir} )
endif()
# Create directories in order to avoid doxygen warnings
if(NOT (IS_DIRECTORY ${developer_html_doc_dir}) )
file(MAKE_DIRECTORY ${developer_html_doc_dir} )
endif()
# use the doxyfile here and generate a documentation target
# Use the local doxygen config
# and automatically append to doc target
acg_create_doc_target( doc-DeveloperQtHelp )
# Remove directory with temporary html files after build
add_custom_command(TARGET doc-DeveloperQtHelp POST_BUILD COMMAND ${CMAKE_COMMAND} -E remove_directory ${developer_html_doc_dir})
# install the DeveloperQtHelp on install
install(DIRECTORY "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Help" DESTINATION "${ACG_PROJECT_DATADIR}/Doc" )
ENDIF(DOXYGEN_FOUND)
This diff is collapsed.
......@@ -3,24 +3,15 @@ include (ACGDoxygen)
IF (DOXYGEN_FOUND)
set(developer_html_doc_dir "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Doc/DeveloperHTML")
set(developer_qt_help_dir "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Help")
# Create directories in order to avoid doxygen warnings
if(NOT (IS_DIRECTORY ${developer_html_doc_dir}) )
file(MAKE_DIRECTORY ${developer_html_doc_dir} )
endif()
# Create directories in order to avoid doxygen warnings
if(NOT (IS_DIRECTORY ${developer_qt_help_dir}) )
file(MAKE_DIRECTORY ${developer_qt_help_dir} )
endif()
# use the doxyfile here and generate a documentation target
# Use the local doxygen config
# and automatically append to doc target
acg_create_doc_target( doc-DeveloperHelp )
# install the DeveloperHelp on install
install(DIRECTORY "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Doc/DeveloperHTML" DESTINATION "${ACG_PROJECT_DATADIR}/Doc" )
ENDIF(DOXYGEN_FOUND)
include (ACGDoxygen)
IF (DOXYGEN_FOUND)
set(user_html_doc_dir "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Help/html")
set(user_qt_help_dir "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Help")
# Create directories in order to avoid doxygen warnings
if(NOT (IS_DIRECTORY ${user_html_doc_dir}) )
file(MAKE_DIRECTORY ${user_html_doc_dir} )
endif()
# Create directories in order to avoid doxygen warnings
if(NOT (IS_DIRECTORY ${user_qt_help_dir}) )
file(MAKE_DIRECTORY ${user_qt_help_dir} )
endif()
# use the doxyfile here and generate a documentation target which builds only the user Help
# Function defaults to current dir and adds a dependency to the global doc target
acg_create_doc_target( doc-UserQtHelp )
# Remove temporary html files after buily
add_custom_command(TARGET doc-UserQtHelp POST_BUILD COMMAND ${CMAKE_COMMAND} -E remove_directory ${user_html_doc_dir})
# install the UserHelp on install
# This will also install the plugin User Documentations
install(DIRECTORY "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Help" DESTINATION "${ACG_PROJECT_DATADIR}/Doc" )
ENDIF(DOXYGEN_FOUND)
This diff is collapsed.
......@@ -3,24 +3,14 @@ include (ACGDoxygen)
IF (DOXYGEN_FOUND)
set(user_html_doc_dir "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Doc/UserHTML")
set(user_qt_help_dir "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Help")
# Create directories in order to avoid doxygen warnings
if(NOT (IS_DIRECTORY ${user_html_doc_dir}) )
file(MAKE_DIRECTORY ${user_html_doc_dir} )
endif()
# Create directories in order to avoid doxygen warnings
if(NOT (IS_DIRECTORY ${user_qt_help_dir}) )
file(MAKE_DIRECTORY ${user_qt_help_dir} )
endif()
# use the doxyfile here and generate a documentation target which builds only the user Help
# Function defaults to current dir and adds a dependency to the global doc target
acg_create_doc_target( doc-UserHelp )
# install the UserHelp on install
# This will also install the plugin User Documentations
install(DIRECTORY "${CMAKE_BINARY_DIR}/Build/${ACG_PROJECT_DATADIR}/Doc/UserHTML" DESTINATION "${ACG_PROJECT_DATADIR}/Doc" )
ENDIF(DOXYGEN_FOUND)
......@@ -678,7 +678,7 @@ EXCLUDE_PATTERNS = */Debian*/* \
.svn \
SimpleOpt* \
*CPack_Packages* \
build-*
build*
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
# (namespaces, classes, functions, etc.) that should be excluded from the
......@@ -915,7 +915,7 @@ DOCSET_BUNDLE_ID = org.doxygen.user
# Microsoft HTML help workshop to generate a compiled HTML help file (.chm)
# of the generated HTML documentation.
GENERATE_HTMLHELP = YES
GENERATE_HTMLHELP = NO
# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can
# be used to specify the file name of the resulting .chm file. You
......@@ -959,13 +959,13 @@ TOC_EXPAND = NO
# Qt's qhelpgenerator to generate a Qt Compressed Help (.qch) of the generated
# HTML documentation.
GENERATE_QHP = YES
GENERATE_QHP = NO
# If the QHG_LOCATION tag is specified, the QCH_FILE tag can
# be used to specify the file name of the resulting .qch file.
# The path specified is relative to the HTML output folder.
QCH_FILE = @user_qt_help_dir@/user.qch
QCH_FILE =
# The QHP_NAMESPACE tag specifies the namespace to use when generating
# Qt Help Project output. For more information please see
......@@ -1001,7 +1001,7 @@ QHP_SECT_FILTER_ATTRS =
# If non-empty doxygen will try to run qhelpgenerator on the generated
# .qhp file.
QHG_LOCATION = qhelpgenerator
QHG_LOCATION =
# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files
# will be generated, which together with the HTML files, form an Eclipse help
......@@ -1023,7 +1023,7 @@ ECLIPSE_DOC_ID = org.doxygen.Project
# top of each HTML page. The value NO (the default) enables the index and
# the value YES disables it.
DISABLE_INDEX = YES
DISABLE_INDEX = NO
# This tag can be used to set the number of enum values (range [1..20])
# that doxygen will group on one line in the generated HTML documentation.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment