summaryrefslogtreecommitdiffstats
path: root/kontact
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-23 21:19:31 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-23 21:19:31 +0000
commitc6499535d3cc17f9a54f8681f1dfe6b9dd16c2d6 (patch)
treecfc23debd5ea926521a3a0e65771ae8c7fde92bf /kontact
parent87b2ea0ac1d482adee9e36165211d09d7e8a602c (diff)
downloadtdepim-c6499535d3cc17f9a54f8681f1dfe6b9dd16c2d6.tar.gz
tdepim-c6499535d3cc17f9a54f8681f1dfe6b9dd16c2d6.zip
[kdepim] kontact ported to cmake
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1225846 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kontact')
-rw-r--r--kontact/CMakeLists.txt24
-rw-r--r--kontact/interfaces/CMakeLists.txt46
-rw-r--r--kontact/pics/CMakeLists.txt12
-rw-r--r--kontact/pics/icons/CMakeLists.txt12
-rw-r--r--kontact/plugins/CMakeLists.txt24
-rw-r--r--kontact/plugins/akregator/CMakeLists.txt40
-rw-r--r--kontact/plugins/kaddressbook/CMakeLists.txt44
-rw-r--r--kontact/plugins/karm/CMakeLists.txt36
-rw-r--r--kontact/plugins/kmail/CMakeLists.txt92
-rw-r--r--kontact/plugins/knode/CMakeLists.txt36
-rw-r--r--kontact/plugins/knotes/CMakeLists.txt43
-rw-r--r--kontact/plugins/korganizer/CMakeLists.txt89
-rw-r--r--kontact/plugins/newsticker/CMakeLists.txt46
-rw-r--r--kontact/plugins/specialdates/CMakeLists.txt49
-rw-r--r--kontact/plugins/summary/CMakeLists.txt50
-rw-r--r--kontact/plugins/weather/CMakeLists.txt38
-rw-r--r--kontact/profiles/CMakeLists.txt13
-rw-r--r--kontact/profiles/KontactDefaults/CMakeLists.txt14
-rw-r--r--kontact/profiles/OutlookDefaults/CMakeLists.txt14
-rw-r--r--kontact/src/CMakeLists.txt65
-rw-r--r--kontact/src/about/CMakeLists.txt14
21 files changed, 801 insertions, 0 deletions
diff --git a/kontact/CMakeLists.txt b/kontact/CMakeLists.txt
new file mode 100644
index 000000000..430e04df1
--- /dev/null
+++ b/kontact/CMakeLists.txt
@@ -0,0 +1,24 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_import( libkdenetwork )
+tde_import( libkmime )
+tde_import( ktnef )
+tde_import( libkcal )
+tde_import( libkdepim )
+tde_import( certmanager )
+tde_import( libkpimidentities )
+
+add_subdirectory( interfaces )
+add_subdirectory( plugins )
+add_subdirectory( src )
+add_subdirectory( pics )
+add_subdirectory( profiles )
diff --git a/kontact/interfaces/CMakeLists.txt b/kontact/interfaces/CMakeLists.txt
new file mode 100644
index 000000000..0cf231eea
--- /dev/null
+++ b/kontact/interfaces/CMakeLists.txt
@@ -0,0 +1,46 @@
+#################################################
+#
+# (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}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ core.h plugin.h summary.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kontact )
+
+
+##### other data ################################
+
+install( FILES
+ kontactplugin.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+
+##### kpinterfaces (shared) #########################
+
+tde_add_library( kpinterfaces SHARED AUTOMOC
+ SOURCES
+ core.cpp plugin.cpp summary.cpp uniqueapphandler.cpp
+ VERSION 1.0.0
+ LINK kdepim-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/kontact/pics/CMakeLists.txt b/kontact/pics/CMakeLists.txt
new file mode 100644
index 000000000..ca2d248c1
--- /dev/null
+++ b/kontact/pics/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( icons )
diff --git a/kontact/pics/icons/CMakeLists.txt b/kontact/pics/icons/CMakeLists.txt
new file mode 100644
index 000000000..db8d4480c
--- /dev/null
+++ b/kontact/pics/icons/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
+#
+#################################################
+
+tde_install_icons( )
diff --git a/kontact/plugins/CMakeLists.txt b/kontact/plugins/CMakeLists.txt
new file mode 100644
index 000000000..54b60cd82
--- /dev/null
+++ b/kontact/plugins/CMakeLists.txt
@@ -0,0 +1,24 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# NOTE kpilot was moved from kdepim
+
+add_subdirectory( kaddressbook )
+add_subdirectory( kmail )
+add_subdirectory( knotes )
+add_subdirectory( korganizer )
+add_subdirectory( summary )
+add_subdirectory( weather )
+add_subdirectory( knode )
+add_subdirectory( newsticker )
+add_subdirectory( specialdates )
+add_subdirectory( akregator )
+add_subdirectory( karm )
diff --git a/kontact/plugins/akregator/CMakeLists.txt b/kontact/plugins/akregator/CMakeLists.txt
new file mode 100644
index 000000000..3af6bd6cc
--- /dev/null
+++ b/kontact/plugins/akregator/CMakeLists.txt
@@ -0,0 +1,40 @@
+#################################################
+#
+# (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}/../../interfaces
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/akregator/src
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+##### other data ################################
+
+install( FILES
+ akregatorplugin.desktop akregatorplugin3.2.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kontact )
+
+
+##### libkontact_akregator (module) #############
+
+tde_add_kpart( libkontact_akregator AUTOMOC
+ SOURCES
+ akregator_plugin.cpp
+ ${CMAKE_SOURCE_DIR}/akregator/src/akregator_partiface.stub
+ LINK kpinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kontact/plugins/kaddressbook/CMakeLists.txt b/kontact/plugins/kaddressbook/CMakeLists.txt
new file mode 100644
index 000000000..9786fa62f
--- /dev/null
+++ b/kontact/plugins/kaddressbook/CMakeLists.txt
@@ -0,0 +1,44 @@
+#################################################
+#
+# (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}/../../interfaces
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ kaddressbookplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kontact )
+
+
+##### libkontact_kaddressbookplugin (module) ####
+
+set( KDE3_DCOPIDL_EXECUTABLE ${KDE3_DCOPIDLNG_EXECUTABLE} )
+
+tde_add_kpart( libkontact_kaddressbookplugin AUTOMOC
+ SOURCES
+ kaddressbook_plugin.cpp
+ ${CMAKE_SOURCE_DIR}/kaddressbook/kaddressbookiface.stub
+ ${CMAKE_SOURCE_DIR}/kmail/kmailIface.stub
+ LINK kpinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kontact/plugins/karm/CMakeLists.txt b/kontact/plugins/karm/CMakeLists.txt
new file mode 100644
index 000000000..e3e0e60e9
--- /dev/null
+++ b/kontact/plugins/karm/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (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}/../../interfaces
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES karmplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kontact )
+
+
+##### libkontact_karm (module) ##################
+
+tde_add_kpart( libkontact_karm AUTOMOC
+ SOURCES
+ karm_plugin.cpp ${CMAKE_SOURCE_DIR}/karm/karmdcopiface.stub
+ LINK kpinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kontact/plugins/kmail/CMakeLists.txt b/kontact/plugins/kmail/CMakeLists.txt
new file mode 100644
index 000000000..ce0ddcac7
--- /dev/null
+++ b/kontact/plugins/kmail/CMakeLists.txt
@@ -0,0 +1,92 @@
+#################################################
+#
+# (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}/../../interfaces
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/kmail
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${CMAKE_SOURCE_DIR}/kmail
+ ${CMAKE_SOURCE_DIR}/certmanager/lib
+ ${CMAKE_SOURCE_DIR}/libkdenetwork
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${GPGME_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kcmkmailsummary.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kmailplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kontact )
+
+
+##### helper ####################################
+
+macro( process_kcfg _who _out _path _kcfg _kcfgc )
+ add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/${_path}/${_out}
+ COMMAND
+ mkdir -p ${CMAKE_BINARY_DIR}/${_path}
+ COMMAND ${KDE3_KCFGC_EXECUTABLE}
+ -d ${CMAKE_BINARY_DIR}/${_path}
+ ${CMAKE_SOURCE_DIR}/${_path}/${_kcfg}
+ ${CMAKE_SOURCE_DIR}/${_path}/${_kcfgc}
+ DEPENDS
+ ${CMAKE_SOURCE_DIR}/${_path}/${_kcfg}
+ ${CMAKE_SOURCE_DIR}/${_path}/${_kcfgc} )
+ set_property( SOURCE ${_who} APPEND
+ PROPERTY OBJECT_DEPENDS ${CMAKE_BINARY_DIR}/${_path}/${_out} )
+endmacro()
+
+
+##### libkontact_kmailplugin (module) ###########
+
+set( KDE3_DCOPIDL_EXECUTABLE ${KDE3_DCOPIDLNG_EXECUTABLE} )
+
+process_kcfg( kmail_plugin.cpp globalsettings_base.h kmail
+ kmail.kcfg globalsettings_base.kcfgc )
+
+add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/kmail/templatesconfiguration_base.h
+ WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/kmail
+ COMMAND ${CMAKE_COMMAND}
+ -DQT_UIC_EXECUTABLE:FILEPATH=${QT_UIC_EXECUTABLE}
+ -DTDE_QTPLUGINS_DIR:FILEPATH=${TDE_QTPLUGINS_DIR}
+ -DUI_FILE:FILEPATH=${CMAKE_SOURCE_DIR}/kmail/templatesconfiguration_base.ui
+ -P ${CMAKE_MODULE_PATH}/tde_uic.cmake
+ DEPENDS
+ ${CMAKE_BINARY_DIR}/kmail/globalsettings_base.h
+ ${CMAKE_SOURCE_DIR}/kmail/templatesconfiguration_base.ui )
+
+set_property( SOURCE kmail_plugin.cpp APPEND
+ PROPERTY OBJECT_DEPENDS ${CMAKE_BINARY_DIR}/kmail/templatesconfiguration_base.h )
+
+tde_add_kpart( libkontact_kmailplugin AUTOMOC
+ SOURCES
+ kmail_plugin.cpp summarywidget.cpp summarywidget.skel
+ ${CMAKE_SOURCE_DIR}/kmail/kmailIface.stub
+ LINK kpinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kcm_kmailsummary (module) #################
+
+tde_add_kpart( kcm_kmailsummary AUTOMOC
+ SOURCES kcmkmailsummary.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kontact/plugins/knode/CMakeLists.txt b/kontact/plugins/knode/CMakeLists.txt
new file mode 100644
index 000000000..a540a897f
--- /dev/null
+++ b/kontact/plugins/knode/CMakeLists.txt
@@ -0,0 +1,36 @@
+#################################################
+#
+# (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}/../../interfaces
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES knodeplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kontact )
+
+
+##### libkontact_knodeplugin (module) ###########
+
+tde_add_kpart( libkontact_knodeplugin AUTOMOC
+ SOURCES
+ knode_plugin.cpp ${CMAKE_SOURCE_DIR}/knode/knodeiface.stub
+ LINK kpinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kontact/plugins/knotes/CMakeLists.txt b/kontact/plugins/knotes/CMakeLists.txt
new file mode 100644
index 000000000..db6a6c471
--- /dev/null
+++ b/kontact/plugins/knotes/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
+#
+#################################################
+
+tde_import( knotes )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../interfaces
+ ${CMAKE_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES knotesplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kontact )
+install( FILES knotes_part.rc DESTINATION ${DATA_INSTALL_DIR}/knotes )
+
+
+##### libkontact_knotesplugin (module) ##########
+
+set( KDE3_DCOPIDL_EXECUTABLE ${KDE3_DCOPIDLNG_EXECUTABLE} )
+
+tde_add_kpart( libkontact_knotesplugin AUTOMOC
+ SOURCES
+ knotes_plugin.cpp knotes_part.cpp summarywidget.cpp knotetip.cpp
+ ${CMAKE_SOURCE_DIR}/knotes/KNotesIface.skel
+ LINK kpinterfaces-shared knotes-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kontact/plugins/korganizer/CMakeLists.txt b/kontact/plugins/korganizer/CMakeLists.txt
new file mode 100644
index 000000000..4058a0682
--- /dev/null
+++ b/kontact/plugins/korganizer/CMakeLists.txt
@@ -0,0 +1,89 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_import( libkholidays )
+tde_import( korganizer )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../interfaces
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/korganizer
+ ${CMAKE_SOURCE_DIR}/korganizer/interfaces
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ korganizerplugin.desktop todoplugin.desktop journalplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kontact )
+
+install( FILES
+ kcmkorgsummary.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### libkontact_korganizerplugin (module) ######
+
+tde_add_kpart( libkontact_korganizerplugin AUTOMOC
+ SOURCES
+ korganizerplugin.cpp summarywidget.cpp
+ ${CMAKE_SOURCE_DIR}/korganizer/kcalendariface.stub
+ ${CMAKE_SOURCE_DIR}/korganizer/korganizeriface.stub
+ LINK common-static kpinterfaces-shared korganizer_calendar-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkontact_todoplugin (module) ############
+
+tde_add_kpart( libkontact_todoplugin AUTOMOC
+ SOURCES
+ todoplugin.cpp todosummarywidget.cpp
+ ${CMAKE_SOURCE_DIR}/korganizer/kcalendariface.stub
+ ${CMAKE_SOURCE_DIR}/korganizer/korganizeriface.stub
+ LINK common-static kpinterfaces-shared korganizer-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libkontact_journalplugin (module) #########
+
+tde_add_kpart( libkontact_journalplugin AUTOMOC
+ SOURCES
+ journalplugin.cpp
+ ${CMAKE_SOURCE_DIR}/korganizer/kcalendariface.stub
+ LINK common-static kpinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kcm_korgsummary (module) ##################
+
+tde_add_kpart( kcm_korgsummary AUTOMOC
+ SOURCES kcmkorgsummary.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### common (static) ###########################
+
+tde_add_library( common STATIC_PIC
+ SOURCES korg_uniqueapp.cpp
+)
diff --git a/kontact/plugins/newsticker/CMakeLists.txt b/kontact/plugins/newsticker/CMakeLists.txt
new file mode 100644
index 000000000..4ea4ed853
--- /dev/null
+++ b/kontact/plugins/newsticker/CMakeLists.txt
@@ -0,0 +1,46 @@
+#################################################
+#
+# (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}/../../interfaces
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kcmkontactknt.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES newstickerplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kontact )
+
+
+##### libkontact_newstickerplugin (module) ######
+
+tde_add_kpart( libkontact_newstickerplugin AUTOMOC
+ SOURCES
+ newsticker_plugin.cpp summarywidget.cpp summarywidget.skel
+ LINK kpinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kcm_kontactknt (module) ###################
+
+tde_add_kpart( kcm_kontactknt AUTOMOC
+ SOURCES kcmkontactknt.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kontact/plugins/specialdates/CMakeLists.txt b/kontact/plugins/specialdates/CMakeLists.txt
new file mode 100644
index 000000000..7bde801d6
--- /dev/null
+++ b/kontact/plugins/specialdates/CMakeLists.txt
@@ -0,0 +1,49 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_import( libkholidays )
+tde_import( korganizer )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/../../interfaces
+ ${CMAKE_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES specialdatesplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kontact )
+install( FILES kcmsdsummary.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+
+##### libkontact_specialdatesplugin (module) ####
+
+tde_add_kpart( libkontact_specialdatesplugin AUTOMOC
+ SOURCES specialdates_plugin.cpp sdsummarywidget.cpp
+ LINK kpinterfaces-shared kholidays-shared korganizer_calendar-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kcm_sdsummary (module) ####################
+
+tde_add_kpart( kcm_sdsummary AUTOMOC
+ SOURCES kcmsdsummary.cpp
+ LINK kdeui-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kontact/plugins/summary/CMakeLists.txt b/kontact/plugins/summary/CMakeLists.txt
new file mode 100644
index 000000000..5e23c91db
--- /dev/null
+++ b/kontact/plugins/summary/CMakeLists.txt
@@ -0,0 +1,50 @@
+#################################################
+#
+# (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}/../../interfaces
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/certmanager/lib
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kcmkontactsummary.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES summaryplugin.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kontact )
+install( FILES kontactsummary_part.rc DESTINATION ${DATA_INSTALL_DIR}/kontactsummary )
+
+
+##### libkontact_summaryplugin (module) #########
+
+tde_add_kpart( libkontact_summaryplugin AUTOMOC
+ SOURCES
+ summaryview_plugin.cpp summaryview_part.cpp dropwidget.cpp
+ LINK kpinterfaces-shared kdepim-shared kpimidentities-shared kutils-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kcm_kontactsummary (module) ###############
+
+tde_add_kpart( kcm_kontactsummary AUTOMOC
+ SOURCES kcmkontactsummary.cpp
+ LINK kdeui-shared kutils-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kontact/plugins/weather/CMakeLists.txt b/kontact/plugins/weather/CMakeLists.txt
new file mode 100644
index 000000000..541222d79
--- /dev/null
+++ b/kontact/plugins/weather/CMakeLists.txt
@@ -0,0 +1,38 @@
+#################################################
+#
+# (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}/../../interfaces
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ weatherplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kontact )
+
+
+##### libkontact_weatherplugin (module) #########
+
+tde_add_kpart( libkontact_weatherplugin AUTOMOC
+ SOURCES
+ weather_plugin.cpp summarywidget.cpp summarywidget.skel
+ LINK kpinterfaces-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kontact/profiles/CMakeLists.txt b/kontact/profiles/CMakeLists.txt
new file mode 100644
index 000000000..95847bef8
--- /dev/null
+++ b/kontact/profiles/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (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( KontactDefaults )
+add_subdirectory( OutlookDefaults )
diff --git a/kontact/profiles/KontactDefaults/CMakeLists.txt b/kontact/profiles/KontactDefaults/CMakeLists.txt
new file mode 100644
index 000000000..4d313d0e3
--- /dev/null
+++ b/kontact/profiles/KontactDefaults/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ profile.cfg kontactrc korganizerrc
+ DESTINATION ${DATA_INSTALL_DIR}/kontact/profiles/KontactDefaults )
diff --git a/kontact/profiles/OutlookDefaults/CMakeLists.txt b/kontact/profiles/OutlookDefaults/CMakeLists.txt
new file mode 100644
index 000000000..ff3986bb3
--- /dev/null
+++ b/kontact/profiles/OutlookDefaults/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ profile.cfg kontactrc korganizerrc
+ DESTINATION ${DATA_INSTALL_DIR}/kontact/profiles/OutlookDefaults )
diff --git a/kontact/src/CMakeLists.txt b/kontact/src/CMakeLists.txt
new file mode 100644
index 000000000..9da69d0d0
--- /dev/null
+++ b/kontact/src/CMakeLists.txt
@@ -0,0 +1,65 @@
+#################################################
+#
+# (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( about )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/../interfaces
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( )
+install( FILES Kontact.desktop kontactdcop.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kontact.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+install( FILES kontactconfig.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kontactui.rc kontact.setdlg DESTINATION ${DATA_INSTALL_DIR}/kontact )
+
+
+##### kcm_kontact (module) ######################
+
+tde_add_kpart( kcm_kontact AUTOMOC
+ SOURCES kcmkontact.cpp
+ LINK kontact-shared kdepim-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kontact (executable) ######################
+
+tde_add_executable( kontact AUTOMOC
+ SOURCES
+ main.cpp mainwindow.cpp sidepanebase.cpp iconsidepane.cpp
+ aboutdialog.cpp profilemanager.cpp profiledialog.cpp
+ kontactiface.skel
+ LINK kontact-shared kpinterfaces-shared kutils-shared khtml-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kontact (shared) ##########################
+
+tde_add_library( kontact SHARED
+ SOURCES prefs.kcfgc
+ VERSION 1.0.0
+ LINK kdecore-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
diff --git a/kontact/src/about/CMakeLists.txt b/kontact/src/about/CMakeLists.txt
new file mode 100644
index 000000000..8daf776e2
--- /dev/null
+++ b/kontact/src/about/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ top-right-kontact.png main.html kontact.css
+ DESTINATION ${DATA_INSTALL_DIR}/kontact/about )