summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/groupwise/libgroupwise
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-22 20:12:04 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-22 20:12:04 +0000
commitac87680632b4fb6582d1391b042eff7f0305c0a2 (patch)
treebfeee57d104a1bbc7c387d35190fa55d692115b7 /kopete/protocols/groupwise/libgroupwise
parentaca844682f86c04f6b67b23de2a820fb0c63a32e (diff)
downloadtdenetwork-ac87680632b4fb6582d1391b042eff7f0305c0a2.tar.gz
tdenetwork-ac87680632b4fb6582d1391b042eff7f0305c0a2.zip
[kdenetwork/kopete] added cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1233119 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/groupwise/libgroupwise')
-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
4 files changed, 125 insertions, 0 deletions
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
+)