summaryrefslogtreecommitdiffstats
path: root/akregator/src/mk4storage
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-05 23:54:57 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-05 23:54:57 +0000
commitb67ece773ccb72aafa48a4117a9aae82531e3aaf (patch)
tree9dd91fcd5599ae865bea43313ed7068eb4ec0177 /akregator/src/mk4storage
parenta21c1c9b1dca09b9ab3a56d60e6f4c7a253689f8 (diff)
downloadtdepim-b67ece773ccb72aafa48a4117a9aae82531e3aaf.tar.gz
tdepim-b67ece773ccb72aafa48a4117a9aae82531e3aaf.zip
[kdepim]: initial cmake support for following subpackages: akregator, certmanager, kaddressbook, kalarm, kioslaves, kmail, ktnef, libemailfunctions, libkcal, libkdenetwork, libkdepim, libkmime, libkpgp, libkpimidentities, libksieve, mimelib
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1223912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'akregator/src/mk4storage')
-rw-r--r--akregator/src/mk4storage/CMakeLists.txt43
-rw-r--r--akregator/src/mk4storage/metakit/CMakeLists.txt12
-rw-r--r--akregator/src/mk4storage/metakit/src/CMakeLists.txt27
3 files changed, 82 insertions, 0 deletions
diff --git a/akregator/src/mk4storage/CMakeLists.txt b/akregator/src/mk4storage/CMakeLists.txt
new file mode 100644
index 000000000..01795d996
--- /dev/null
+++ b/akregator/src/mk4storage/CMakeLists.txt
@@ -0,0 +1,43 @@
+#################################################
+#
+# (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( metakit )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/akregator/src
+ ${CMAKE_SOURCE_DIR}/akregator/src/mk4storage/metakit/include
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES akregator_mk4storage_plugin.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES mk4config.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+
+
+##### libakregator_mk4storage_plugin (module) ##
+
+tde_add_kpart( libakregator_mk4storage_plugin AUTOMOC
+ SOURCES
+ feedstoragemk4impl.cpp mk4plugin.cpp storagemk4impl.cpp
+ storagefactorymk4impl.cpp
+ LINK
+ rsslocal-static metakitlocal-static
+ akregatorprivate-shared kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/akregator/src/mk4storage/metakit/CMakeLists.txt b/akregator/src/mk4storage/metakit/CMakeLists.txt
new file mode 100644
index 000000000..7356f2217
--- /dev/null
+++ b/akregator/src/mk4storage/metakit/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (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( src )
diff --git a/akregator/src/mk4storage/metakit/src/CMakeLists.txt b/akregator/src/mk4storage/metakit/src/CMakeLists.txt
new file mode 100644
index 000000000..dd5a9abde
--- /dev/null
+++ b/akregator/src/mk4storage/metakit/src/CMakeLists.txt
@@ -0,0 +1,27 @@
+#################################################
+#
+# (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_SOURCE_DIR}/../include
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### metakitlocal (static) #####################
+
+tde_add_library( metakitlocal STATIC_PIC
+ SOURCES
+ column.cpp custom.cpp derived.cpp field.cpp fileio.cpp
+ format.cpp handler.cpp persist.cpp remap.cpp std.cpp
+ store.cpp string.cpp table.cpp univ.cpp view.cpp viewx.cpp
+)