summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2012-06-27 08:44:13 (GMT)
committerChristian Mollekopf <chrigi_1@fastmail.fm>2012-06-27 08:44:13 (GMT)
commit279fa15e5c7d6ef3ce489699711869453c3fa435 (patch)
tree07bd7f02b68edc04e92076a5c669ea76c4363593 /CMakeLists.txt
parenta988b9514744d3e777ff7151a4f29044cf3020bb (diff)
downloadlibcalendaring-279fa15e5c7d6ef3ce489699711869453c3fa435.tar.gz
Frankenstein lives!
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 76ed9f3..7b81e09 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,10 +7,25 @@ include_directories(kdecore/localization)
set(LIBRARY_TYPE SHARED)
+set(LIB_INSTALL_DIR lib CACHE STRING "The directories where to install libraries to")
+set(INCLUDE_INSTALL_DIR include/libcalendaring CACHE STRING "The directories where to install headers to")
+set(INSTALL_TARGETS_DEFAULT_ARGS RUNTIME DESTINATION ${BIN_INSTALL_DIR}
+ LIBRARY DESTINATION ${LIB_INSTALL_DIR}
+ ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
+)
+# set(CMAKE_AUTOMOC ON)
+
add_subdirectory(kdecore)
add_subdirectory(kmime)
add_subdirectory(kcalcore)
add_subdirectory(kimap)
+add_subdirectory(kabc)
+add_subdirectory(notes)
+add_subdirectory(kpimutils)
+add_subdirectory(kcalutils)
+
+install( FILES kdemacros.h
+ DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel)
# set(static_libs ${CMAKE_CURRENT_BINARY_DIR}/kdecore/libcalendaring-kdecore.a
# ${CMAKE_CURRENT_BINARY_DIR}/kmime/libcalendaring-kmime