From b363d2579af0a11b77e698aed2e1021c2233b644 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 26 Jan 2013 13:17:50 -0600 Subject: Rename a number of libraries and executables to avoid conflicts with KDE4 --- tderesources/egroupware/CMakeLists.txt | 109 +++++++++++++++++++++++++++++++++ 1 file changed, 109 insertions(+) create mode 100644 tderesources/egroupware/CMakeLists.txt (limited to 'tderesources/egroupware/CMakeLists.txt') 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} +) -- cgit v1.2.1