summaryrefslogtreecommitdiffstats
path: root/kresources/kolab
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/kolab')
-rw-r--r--kresources/kolab/CMakeLists.txt18
-rw-r--r--kresources/kolab/kabc/CMakeLists.txt53
-rw-r--r--kresources/kolab/kcal/CMakeLists.txt56
-rw-r--r--kresources/kolab/knotes/CMakeLists.txt54
-rw-r--r--kresources/kolab/shared/CMakeLists.txt29
5 files changed, 210 insertions, 0 deletions
diff --git a/kresources/kolab/CMakeLists.txt b/kresources/kolab/CMakeLists.txt
new file mode 100644
index 000000000..01acd3972
--- /dev/null
+++ b/kresources/kolab/CMakeLists.txt
@@ -0,0 +1,18 @@
+#################################################
+#
+# (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( shared )
+add_subdirectory( kabc )
+add_subdirectory( knotes )
+add_subdirectory( kcal )
+
+install( FILES kolab-resource.upd DESTINATION ${DATA_INSTALL_DIR}/kconf_update )
+install( PROGRAMS upgrade-resourcetype.pl DESTINATION ${DATA_INSTALL_DIR}/kconf_update )
diff --git a/kresources/kolab/kabc/CMakeLists.txt b/kresources/kolab/kabc/CMakeLists.txt
new file mode 100644
index 000000000..63defa580
--- /dev/null
+++ b/kresources/kolab/kabc/CMakeLists.txt
@@ -0,0 +1,53 @@
+#################################################
+#
+# (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}
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared
+ ${CMAKE_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install(
+ FILES kolab.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kabc )
+
+install(
+ FILES ${CMAKE_CURRENT_SOURCE_DIR}/../uninstall.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kabc
+ RENAME imap.desktop )
+
+
+##### kabc_kolab (module) #######################
+
+tde_add_kpart( kabc_kolab AUTOMOC
+ SOURCES resourcekolab_plugin.cpp
+ LINK kabckolab-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kabckolab (shared) ########################
+
+tde_add_library( kabckolab SHARED AUTOMOC
+ SOURCES resourcekolab.cpp contact.cpp
+ VERSION 0.0.0
+ LINK resourcekolabshared-static kgroupwarebase-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/kresources/kolab/kcal/CMakeLists.txt b/kresources/kolab/kcal/CMakeLists.txt
new file mode 100644
index 000000000..238740a0b
--- /dev/null
+++ b/kresources/kolab/kcal/CMakeLists.txt
@@ -0,0 +1,56 @@
+#################################################
+#
+# (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}
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared
+ ${CMAKE_CURRENT_SOURCE_DIR}/../kcal
+ ${CMAKE_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install(
+ FILES kolab.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal )
+
+install(
+ FILES ${CMAKE_CURRENT_SOURCE_DIR}/../uninstall.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kresources/kcal
+ RENAME imap.desktop)
+
+
+##### kcal_kolab (module) #######################
+
+tde_add_kpart( kcal_kolab AUTOMOC
+ SOURCES
+ resourcekolab_plugin.cpp
+ LINK kcalkolab-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kcalkolab (shared) ########################
+
+tde_add_library( kcalkolab SHARED AUTOMOC
+ SOURCES
+ incidence.cpp event.cpp task.cpp journal.cpp resourcekolab.cpp
+ VERSION 0.0.0
+ LINK resourcekolabshared-static kgroupwarebase-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/kresources/kolab/knotes/CMakeLists.txt b/kresources/kolab/knotes/CMakeLists.txt
new file mode 100644
index 000000000..a4aaecbc5
--- /dev/null
+++ b/kresources/kolab/knotes/CMakeLists.txt
@@ -0,0 +1,54 @@
+#################################################
+#
+# (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}
+ ${CMAKE_CURRENT_SOURCE_DIR}/../shared
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/knotes
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install(
+ FILES kolabresource.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kresources/knotes )
+
+install(
+ FILES ${CMAKE_CURRENT_SOURCE_DIR}/../uninstall.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kresources/knotes
+ RENAME imap.desktop )
+
+
+##### knotes_kolab (module) #####################
+
+tde_add_kpart( knotes_kolab AUTOMOC
+ SOURCES resourcekolab_plugin.cpp
+ LINK knoteskolab-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### knoteskolab (shared) ######################
+
+tde_add_library( knoteskolab SHARED AUTOMOC
+ SOURCES resourcekolab.cpp note.cpp
+ VERSION 0.0.0
+ LINK resourcekolabshared-static kgroupwarebase-shared knotes-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/kresources/kolab/shared/CMakeLists.txt b/kresources/kolab/shared/CMakeLists.txt
new file mode 100644
index 000000000..e06e1bce5
--- /dev/null
+++ b/kresources/kolab/shared/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}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kresources/lib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### resourcekolabshared (static) ##############
+
+set( KDE3_DCOPIDL_EXECUTABLE ${KDE3_DCOPIDLNG_EXECUTABLE} )
+
+tde_add_library( resourcekolabshared STATIC_PIC AUTOMOC
+ SOURCES
+ resourcekolabbase.cpp kmailconnection.cpp kolabbase.cpp subresource.cpp
+ kmailconnection.skel ${CMAKE_SOURCE_DIR}/kmail/kmailicalIface.stub
+)