From 834036fae64cdc9fc8adb947861d2d8c926775a8 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 6 Sep 2011 22:18:43 +0000 Subject: [PATCH] Add apidox targets to kdepim git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1251897 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 52e0eb63..069e37c0 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 )