mirror of https://github.com/qt/qtdoc.git
CMake: Move documentation into separate project
We've now four pages, which logically belong together. So let's move them into one 'qtcmake' module. Change-Id: I3015fc0804d62bcaec2cfbb6b84c6c08fe5f43f8 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
530a73a825
commit
37e2fe2b4c
|
|
@ -11,6 +11,7 @@ moduleheader =
|
||||||
|
|
||||||
depends += \
|
depends += \
|
||||||
activeqt \
|
activeqt \
|
||||||
|
qtcmake \
|
||||||
qdoc \
|
qdoc \
|
||||||
qmake \
|
qmake \
|
||||||
qtandroidextras \
|
qtandroidextras \
|
||||||
|
|
@ -85,9 +86,10 @@ exampledirs += \
|
||||||
../snippets \
|
../snippets \
|
||||||
../../examples
|
../../examples
|
||||||
|
|
||||||
# Don't parse files in snippets directory
|
# Don't parse files in snippets and cmake directories
|
||||||
excludedirs += \
|
excludedirs += \
|
||||||
../src/snippets
|
../src/snippets \
|
||||||
|
../src/cmake
|
||||||
|
|
||||||
examplesinstallpath =
|
examplesinstallpath =
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,9 @@
|
||||||
|
TEMPLATE = aux
|
||||||
|
|
||||||
|
QMAKE_DOCS = $$PWD/qtcmake.qdocconf
|
||||||
|
|
||||||
|
QTDIR = $$[QT_HOST_PREFIX]
|
||||||
|
exists($$QTDIR/.qmake.cache): \
|
||||||
|
QMAKE_DOCS_OUTPUTDIR = $$QTDIR/doc/cmake
|
||||||
|
else: \
|
||||||
|
QMAKE_DOCS_OUTPUTDIR = $$OUT_PWD/cmake
|
||||||
|
|
@ -0,0 +1,39 @@
|
||||||
|
include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf)
|
||||||
|
include($QT_INSTALL_DOCS/global/externalsites.qdocconf)
|
||||||
|
|
||||||
|
project = QtCMake
|
||||||
|
description = Using Qt with CMake
|
||||||
|
version = $QT_VERSION
|
||||||
|
|
||||||
|
qhp.projects = qtcmake
|
||||||
|
|
||||||
|
qhp.qtcmake.file = qtcmake.qhp
|
||||||
|
qhp.qtcmake.namespace = org.qt-project.qtcmake.$QT_VERSION_TAG
|
||||||
|
qhp.qtcmake.virtualFolder = qtcmake
|
||||||
|
qhp.qtcmake.indexTitle = Using Qt with CMake
|
||||||
|
qhp.qtcmake.filterAttributes = qt $QT_VERSION tools cmake
|
||||||
|
qhp.qtcmake.customFilters.qtcmake.name = Build with CMake
|
||||||
|
qhp.qtcmake.customFilters.qtcmake.filterAttributes = qt tools cmake
|
||||||
|
qhp.qtcmake.subprojects = manual
|
||||||
|
qhp.qtcmake.subprojects.manual.title = Manual
|
||||||
|
qhp.qtcmake.subprojects.manual.indexTitle = Build with CMake
|
||||||
|
qhp.qtcmake.subprojects.manual.selectors = fake:page
|
||||||
|
|
||||||
|
sources = cmake-manual.qdoc
|
||||||
|
|
||||||
|
exampledirs = .
|
||||||
|
|
||||||
|
# Instruct Clang not to look for a module header
|
||||||
|
moduleheader =
|
||||||
|
|
||||||
|
depends += \
|
||||||
|
qtdoc \
|
||||||
|
qtcore \
|
||||||
|
qtnetwork \
|
||||||
|
qtsql \
|
||||||
|
qtgui \
|
||||||
|
qtwidgets \
|
||||||
|
qtdbus \
|
||||||
|
qtlinguist
|
||||||
|
|
||||||
|
navigation.landingpage = "Build with CMake"
|
||||||
Loading…
Reference in New Issue