summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-11-11 16:52:24 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2012-11-11 16:52:24 -0600
commitd71a3e005ca9c7cc50bf6b314ecea04acab0258c (patch)
tree9b8a0f3e9e8651c8016787d1a71355fa6052e2da /CMakeLists.txt
parentc1a8ee04fbfe9851c1f788bcdcf3a5339ce1e478 (diff)
downloadtdeutils-d71a3e005ca9c7cc50bf6b314ecea04acab0258c.tar.gz
tdeutils-d71a3e005ca9c7cc50bf6b314ecea04acab0258c.zip
Additional changes to support building with cmake.
Thanks to Slavek Banko.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3a7556e..9d9d5cd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -127,6 +127,16 @@ option( BUILD_KWALLET "Build kwallet" ${BUILD_ALL} )
option( BUILD_SUPERKARAMBA "Build superkaramba" ${BUILD_ALL} )
+##### 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/")
+
##### configure checks ##########################
include( ConfigureChecks.cmake )