summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-06 22:18:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-06 22:18:15 +0000
commit21fc43f2d4b21845480549053f92293fe1f41ce3 (patch)
treedff05c45040a754ed0fbda774e597f848dac91f5
parent7fc2c05f9d705fbb18a511b2973e146b2794f333 (diff)
downloadtdebase-21fc43f2d4b21845480549053f92293fe1f41ce3.tar.gz
tdebase-21fc43f2d4b21845480549053f92293fe1f41ce3.zip
Add apidox targets to kdebase
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1251896 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f932d64b9..917062e5d 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_SASL "Enable SASL support" OFF )