summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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