diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/CMakeLists.txt | 10 | ||||
-rw-r--r-- | doc/qmenumodel.qdocconf.in | 9 |
2 files changed, 19 insertions, 0 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt new file mode 100644 index 0000000..e5772ba --- /dev/null +++ b/doc/CMakeLists.txt @@ -0,0 +1,10 @@ +set(QMENUMODEL_DOC_FILE ${CMAKE_CURRENT_BINARY_DIR}/qmenumodel.qdocconf) + +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/qmenumodel.qdocconf.in" + ${QMENUMODEL_DOC_FILE} @ONLY) + +add_custom_target(qdoc) +add_custom_command(TARGET qdoc + COMMAND ${QDOC_BIN} ${QMENUMODEL_DOC_FILE} + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} + COMMENT "QDoc working...") diff --git a/doc/qmenumodel.qdocconf.in b/doc/qmenumodel.qdocconf.in new file mode 100644 index 0000000..3070b1e --- /dev/null +++ b/doc/qmenumodel.qdocconf.in @@ -0,0 +1,9 @@ +project = QMenuModel QLM elements +sourcedirs = @qmenumodelcommon_SOURCE_DIR@ +sources.fileextensions = "*.cpp" +outputdir = html +outputformats = HTML +version = 0.1 +syntaxhighlighting = true +sourceencoding = UTF-8 +outputencoding = UTF-8 |