aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-10-04 10:17:58 -0300
committerRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-10-04 10:17:58 -0300
commit7961150ad1eaa1b3bc62d5215e274a7b58b0ef72 (patch)
treef2f92f042acb890417b6af79c143db5f1bffeba4
parent759356c47bdd7fd62775d604e910b358d43f059f (diff)
downloadqmenumodel-7961150ad1eaa1b3bc62d5215e274a7b58b0ef72.tar.gz
qmenumodel-7961150ad1eaa1b3bc62d5215e274a7b58b0ef72.tar.bz2
qmenumodel-7961150ad1eaa1b3bc62d5215e274a7b58b0ef72.zip
Created doc source dir.
-rw-r--r--doc/CMakeLists.txt10
-rw-r--r--doc/qmenumodel.qdocconf.in9
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