summaryrefslogtreecommitdiffstats
path: root/akregator/src/mk4storage
diff options
context:
space:
mode:
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
+)