From 21fc43f2d4b21845480549053f92293fe1f41ce3 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 6 Sep 2011 22:18:15 +0000 Subject: Add apidox targets to kdebase git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1251896 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 ) -- cgit v1.2.1