summaryrefslogtreecommitdiffstats
path: root/kabc
diff options
context:
space:
mode:
Diffstat (limited to 'kabc')
-rw-r--r--kabc/CMakeLists.txt13
-rw-r--r--kabc/kabc2mutt/CMakeLists.txt29
-rw-r--r--kabc/kabcdistlistupdater/CMakeLists.txt42
3 files changed, 84 insertions, 0 deletions
diff --git a/kabc/CMakeLists.txt b/kabc/CMakeLists.txt
new file mode 100644
index 000000000..486dec53c
--- /dev/null
+++ b/kabc/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( kabc2mutt )
+tde_conditional_add_subdirectory( WITH_NEWDISTRLISTS kabcdistlistupdater )
diff --git a/kabc/kabc2mutt/CMakeLists.txt b/kabc/kabc2mutt/CMakeLists.txt
new file mode 100644
index 000000000..f7ec8dbed
--- /dev/null
+++ b/kabc/kabc2mutt/CMakeLists.txt
@@ -0,0 +1,29 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### kabc2mutt (executable) ####################
+
+tde_add_executable( kabc2mutt AUTOMOC
+ SOURCES kabc2mutt.cpp main.cpp
+ LINK kabc-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kabc/kabcdistlistupdater/CMakeLists.txt b/kabc/kabcdistlistupdater/CMakeLists.txt
new file mode 100644
index 000000000..533b11fab
--- /dev/null
+++ b/kabc/kabcdistlistupdater/CMakeLists.txt
@@ -0,0 +1,42 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_import( libkmime )
+tde_import( ktnef )
+tde_import( libkcal )
+tde_import( libkdepim )
+
+include_directories(
+ ${CMAKE_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install(
+ FILES kabcdistlistupdater.desktop
+ DESTINATION ${AUTOSTART_INSTALL_DIR}
+)
+
+
+##### kabcdistlistupdater (executable) ####################
+
+tde_add_executable( kabcdistlistupdater
+ SOURCES kabcdistlistupdater.cpp
+ LINK kdepim-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)