summaryrefslogtreecommitdiffstats
path: root/kabc
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-21 20:41:08 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-21 20:41:08 +0000
commit8f289a4fcf86668a49e346ca5fa246c5f5ec6806 (patch)
tree015d4f4ffba9d1cc1f0acbb0909eda6586b08aca /kabc
parente6ac7b1d410162c25d940e7832b0e95c5f835013 (diff)
downloadtdepim-8f289a4fcf86668a49e346ca5fa246c5f5ec6806.tar.gz
tdepim-8f289a4fcf86668a49e346ca5fa246c5f5ec6806.zip
[kdepim] initial cmake support for: karm, kmailcvt, kabc, kfile-plugins, konsolekalendar
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1225584 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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}
+)