summaryrefslogtreecommitdiffstats
path: root/tderesources/egroupware/CMakeLists.txt
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:17:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:17:50 -0600
commitb363d2579af0a11b77e698aed2e1021c2233b644 (patch)
treef4a47b87354b7a6a3b266c8121bd8ddaeb7accaa /tderesources/egroupware/CMakeLists.txt
parent61bddfe3a7226b18c68a76124b727c736f431688 (diff)
downloadtdepim-b363d2579af0a11b77e698aed2e1021c2233b644.tar.gz
tdepim-b363d2579af0a11b77e698aed2e1021c2233b644.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'tderesources/egroupware/CMakeLists.txt')
-rw-r--r--tderesources/egroupware/CMakeLists.txt109
1 files changed, 109 insertions, 0 deletions
diff --git a/tderesources/egroupware/CMakeLists.txt b/tderesources/egroupware/CMakeLists.txt
new file mode 100644
index 000000000..ac6182f1f
--- /dev/null
+++ b/tderesources/egroupware/CMakeLists.txt
@@ -0,0 +1,109 @@
+#################################################
+#
+# (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_BINARY_DIR}/kaddressbook/common
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kaddressbook/common
+ ${CMAKE_SOURCE_DIR}/libtdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ kabc_resourcexmlrpc.h kcal_resourcexmlrpc.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kabc )
+
+
+##### other data ################################
+
+install( FILES kabc_xmlrpc.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/kabc )
+install( FILES kcal_xmlrpc.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/kcal )
+install( FILES knotes_xmlrpc.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/knotes )
+
+
+##### egwcommon (static) ########################
+
+tde_add_library( egwcommon STATIC_PIC AUTOMOC
+ SOURCES
+ xmlrpciface.cpp synchronizer.cpp debugdialog.cpp
+)
+
+
+##### kabc_xmlrpc (shared) ######################
+
+tde_add_library( kabc_xmlrpc SHARED AUTOMOC
+ SOURCES
+ kabc_resourcexmlrpc.cpp kabc_resourcexmlrpcconfig.cpp
+ kabc_egroupwareprefs.kcfgc
+ VERSION 1.0.0
+ LINK egwcommon-static kabcommon-static tdepim-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### kcal_xmlrpc (shared) ######################
+
+tde_add_library( kcal_xmlrpc SHARED AUTOMOC
+ SOURCES
+ kcal_resourcexmlrpc.cpp kcal_resourcexmlrpcconfig.cpp todostatemapper.cpp
+ kcal_egroupwareprefs.kcfgc
+ VERSION 1.0.0
+ LINK egwcommon-static tdepim-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### knotes_xmlrpc (shared) ####################
+
+tde_add_library( knotes_xmlrpc SHARED AUTOMOC
+ SOURCES
+ knotes_resourcexmlrpc.cpp knotes_resourcexmlrpcconfig.cpp
+ knotes_egroupwareprefs.kcfgc
+ VERSION 1.0.0
+ LINK egwcommon-static knotes-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### kabc_xmlrpc (module) ######################
+
+tde_add_kpart( kabc_xmlrpc AUTOMOC
+ SOURCES kabc_resourcexmlrpcplugin.cpp
+ LINK kabc_xmlrpc-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kcal_xmlrpc (module) ######################
+
+tde_add_kpart( kcal_xmlrpc AUTOMOC
+ SOURCES kcal_resourcexmlrpcplugin.cpp
+ LINK kcal_xmlrpc-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### knotes_xmlrpc (module) ####################
+
+tde_add_kpart( knotes_xmlrpc AUTOMOC
+ SOURCES knotes_resourcexmlrpcplugin.cpp
+ LINK knotes_xmlrpc-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)