summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-06 22:18:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-06 22:18:43 +0000
commit834036fae64cdc9fc8adb947861d2d8c926775a8 (patch)
tree7167862ded88060f4b42fc659f2c5333fd8ef4ce /CMakeLists.txt
parent8fe3b4ad5db3bd37ed807404bd97fae838131d65 (diff)
downloadtdepim-834036fae64cdc9fc8adb947861d2d8c926775a8.tar.gz
tdepim-834036fae64cdc9fc8adb947861d2d8c926775a8.zip
Add apidox targets to kdepim
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1251897 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 52e0eb639..069e37c0c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,6 +41,17 @@ include( TDESetupPaths )
tde_setup_paths( )
+##### add apidox targets ############
+
+add_custom_target(apidox
+ COMMAND "./generate_apidox" "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" "${HTML_INSTALL_DIR}" "/usr/share/qt3/doc/html"
+ WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/cmake/")
+
+add_custom_target(install-apidox
+ COMMAND "./install_apidox" "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" "${HTML_INSTALL_DIR}" "${CMAKE_INSTALL_PREFIX}"
+ WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/cmake/")
+
+
##### optional stuff ############################
option( WITH_ARTS "Enable aRts support" OFF )