summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/groupwise')
-rw-r--r--kopete/protocols/groupwise/CMakeLists.txt50
-rw-r--r--kopete/protocols/groupwise/icons/CMakeLists.txt12
-rw-r--r--kopete/protocols/groupwise/libgroupwise/CMakeLists.txt53
-rw-r--r--kopete/protocols/groupwise/libgroupwise/qca/CMakeLists.txt12
-rw-r--r--kopete/protocols/groupwise/libgroupwise/qca/src/CMakeLists.txt22
-rw-r--r--kopete/protocols/groupwise/libgroupwise/tasks/CMakeLists.txt38
-rw-r--r--kopete/protocols/groupwise/ui/CMakeLists.txt35
7 files changed, 222 insertions, 0 deletions
diff --git a/kopete/protocols/groupwise/CMakeLists.txt b/kopete/protocols/groupwise/CMakeLists.txt
new file mode 100644
index 00000000..c6df3323
--- /dev/null
+++ b/kopete/protocols/groupwise/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
+#
+#################################################
+
+add_subdirectory( icons )
+add_subdirectory( libgroupwise )
+add_subdirectory( ui )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}/ui
+ ${CMAKE_CURRENT_SOURCE_DIR}/libgroupwise
+ ${CMAKE_CURRENT_SOURCE_DIR}/libgroupwise/tasks
+ ${CMAKE_CURRENT_SOURCE_DIR}/libgroupwise/qca/src
+ ${CMAKE_CURRENT_SOURCE_DIR}/ui
+ ${CMAKE_SOURCE_DIR}/kopete/libkopete
+ ${CMAKE_SOURCE_DIR}/kopete/libkopete/ui
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kopete_groupwise.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES gwchatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_groupwise )
+
+
+##### kopete_groupwise (module) #################
+
+tde_add_kpart( kopete_groupwise AUTOMOC
+ SOURCES
+ gwprotocol.cpp gwcontact.cpp gwaccount.cpp gwbytestream.cpp
+ gwconnector.cpp gwmessagemanager.cpp gwcontactlist.cpp
+ LINK
+ kopetegroupwiseui-static groupwise-static groupwise_tasks-static
+ groupwise_qca-static kopete-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/kopete/protocols/groupwise/icons/CMakeLists.txt b/kopete/protocols/groupwise/icons/CMakeLists.txt
new file mode 100644
index 00000000..ba51467b
--- /dev/null
+++ b/kopete/protocols/groupwise/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( DESTINATION ${DATA_INSTALL_DIR}/kopete/icons )
diff --git a/kopete/protocols/groupwise/libgroupwise/CMakeLists.txt b/kopete/protocols/groupwise/libgroupwise/CMakeLists.txt
new file mode 100644
index 00000000..ef158cd9
--- /dev/null
+++ b/kopete/protocols/groupwise/libgroupwise/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
+#
+#################################################
+
+add_subdirectory( qca )
+add_subdirectory( tasks )
+
+# add_definitions(
+# -DUSE_TLSHANDLER
+# )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/qca/src
+ ${CMAKE_SOURCE_DIR}/kopete/libkopete
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### groupwise (static) ########################
+
+tde_add_library( groupwise STATIC_PIC AUTOMOC
+ SOURCES
+ bytestream.cpp chatroommanager.cpp client.cpp connector.cpp
+ coreprotocol.cpp eventprotocol.cpp eventtransfer.cpp
+ gwclientstream.cpp gwerror.cpp gwfield.cpp gwglobal.cpp
+ inputprotocolbase.cpp privacymanager.cpp qcatlshandler.cpp
+ request.cpp requestfactory.cpp response.cpp responseprotocol.cpp
+ rtf.cc safedelete.cpp securestream.cpp stream.cpp task.cpp
+ tlshandler.cpp transfer.cpp transferbase.cpp userdetailsmanager.cpp
+ usertransfer.cpp
+)
+
+
+##### gwtest (static) ###########################
+
+tde_add_library( gwtest STATIC_PIC AUTOMOC
+ SOURCES
+ coreprotocol.cpp eventtransfer.cpp gwfield.cpp request.cpp
+ requestfactory.cpp transfer.cpp usertransfer.cpp client.cpp task.cpp
+ safedelete.cpp gwclientstream.cpp qcatlshandler.cpp stream.cpp
+ tlshandler.cpp response.cpp connector.cpp securestream.cpp
+ bytestream.cpp
+)
diff --git a/kopete/protocols/groupwise/libgroupwise/qca/CMakeLists.txt b/kopete/protocols/groupwise/libgroupwise/qca/CMakeLists.txt
new file mode 100644
index 00000000..7356f221
--- /dev/null
+++ b/kopete/protocols/groupwise/libgroupwise/qca/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/kopete/protocols/groupwise/libgroupwise/qca/src/CMakeLists.txt b/kopete/protocols/groupwise/libgroupwise/qca/src/CMakeLists.txt
new file mode 100644
index 00000000..9c74e339
--- /dev/null
+++ b/kopete/protocols/groupwise/libgroupwise/qca/src/CMakeLists.txt
@@ -0,0 +1,22 @@
+#################################################
+#
+# (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}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### groupwise_qca (static) ####################
+
+tde_add_library( groupwise_qca STATIC_PIC AUTOMOC
+ SOURCES qca.cpp
+)
diff --git a/kopete/protocols/groupwise/libgroupwise/tasks/CMakeLists.txt b/kopete/protocols/groupwise/libgroupwise/tasks/CMakeLists.txt
new file mode 100644
index 00000000..1fc4a60a
--- /dev/null
+++ b/kopete/protocols/groupwise/libgroupwise/tasks/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}
+ ${CMAKE_CURRENT_SOURCE_DIR}/..
+ ${CMAKE_CURRENT_SOURCE_DIR}/../qca/src
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### groupwise_tasks (static) ##################
+
+tde_add_library( groupwise_tasks STATIC_PIC AUTOMOC
+ SOURCES
+ requesttask.cpp eventtask.cpp logintask.cpp setstatustask.cpp
+ statustask.cpp conferencetask.cpp createconferencetask.cpp
+ sendmessagetask.cpp getdetailstask.cpp getstatustask.cpp
+ typingtask.cpp connectiontask.cpp sendinvitetask.cpp
+ joinconferencetask.cpp leaveconferencetask.cpp rejectinvitetask.cpp
+ keepalivetask.cpp createcontacttask.cpp modifycontactlisttask.cpp
+ createfoldertask.cpp movecontacttask.cpp updateitemtask.cpp
+ createcontactinstancetask.cpp deleteitemtask.cpp updatefoldertask.cpp
+ updatecontacttask.cpp pollsearchresultstask.cpp privacyitemtask.cpp
+ needfoldertask.cpp searchchattask.cpp searchusertask.cpp
+ searchusertask.h getchatsearchresultstask.cpp chatcountstask.cpp
+ chatpropertiestask.cpp joinchattask.cpp
+)
diff --git a/kopete/protocols/groupwise/ui/CMakeLists.txt b/kopete/protocols/groupwise/ui/CMakeLists.txt
new file mode 100644
index 00000000..2045bef7
--- /dev/null
+++ b/kopete/protocols/groupwise/ui/CMakeLists.txt
@@ -0,0 +1,35 @@
+#################################################
+#
+# (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}/../libgroupwise
+ ${CMAKE_CURRENT_SOURCE_DIR}/../libgroupwise/qca/src
+ ${CMAKE_CURRENT_SOURCE_DIR}/..
+ ${CMAKE_BINARY_DIR}/kopete/libkopete/ui
+ ${CMAKE_SOURCE_DIR}/kopete/libkopete
+ ${CMAKE_SOURCE_DIR}/kopete/libkopete/ui
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### kopetegroupwiseui (static) ################
+
+tde_add_library( kopetegroupwiseui STATIC_PIC AUTOMOC
+ SOURCES
+ gwaccountpreferences.ui gwaddcontactpage.cpp gwaddui.ui
+ gweditaccountwidget.cpp gwreceiveinvitationdialog.cpp
+ gwshowinvitation.ui gwcontactpropswidget.ui gwcontactproperties.cpp
+ gwprivacy.ui gwprivacydialog.cpp gwsearch.cpp gwcustomstatuswidget.ui
+ gwcustomstatusedit.ui gwcontactsearch.ui gwchatsearchwidget.ui
+ gwchatsearchdialog.cpp gwchatpropswidget.ui gwchatpropsdialog.cpp
+)