summaryrefslogtreecommitdiffstats
path: root/korn
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-07 00:09:34 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-07 00:09:34 +0000
commitd1d1efd4b6e23b95498ddfb6512a70eb210ab3c6 (patch)
treecf28173abb644a891cf8122ce7fcec452216fd94 /korn
parent921664a14e81cb5b97ef61ad6c701574bd74f722 (diff)
downloadtdepim-d1d1efd4b6e23b95498ddfb6512a70eb210ab3c6.tar.gz
tdepim-d1d1efd4b6e23b95498ddfb6512a70eb210ab3c6.zip
[kdepim] added cmake support for korn; added include path to libkdepim where is needed
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1223999 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korn')
-rw-r--r--korn/CMakeLists.txt55
-rw-r--r--korn/kconf_update/CMakeLists.txt38
-rw-r--r--korn/label.cpp2
3 files changed, 95 insertions, 0 deletions
diff --git a/korn/CMakeLists.txt b/korn/CMakeLists.txt
new file mode 100644
index 000000000..5e6a7d7a8
--- /dev/null
+++ b/korn/CMakeLists.txt
@@ -0,0 +1,55 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+# FIXME KDE_CXXFLAGS = $(USE_RTTI)
+
+tde_import( libkmime )
+
+add_subdirectory( kconf_update )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libkmime
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( korn )
+install( FILES KOrn.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### korn (executable) #########################
+
+tde_add_executable( korn AUTOMOC
+ SOURCES
+ accountmanager.cpp account_input.cpp boxcontainer.cpp boxcontaineritem.cpp
+ boxcontaineritem.skel dcopdrop.cpp dcopdropif.cpp dcopdropif.skel
+ dcop_proto.cpp dockedcontainer.cpp dockeditem.cpp hvcontainer.cpp hvitem.cpp
+ keditlistboxman.cpp nntp_proto.cpp maildrop.cpp main.cpp polldrop.cpp
+ protocols.cpp kornshell.cpp subjectsdlg.cpp maildlg.cpp mailid.cpp
+ mailsubject.cpp mbox_proto.cpp imap_proto.cpp intid.cpp stringid.cpp
+ kornapp.cpp kio.cpp kio_count.cpp kio_proto.cpp kio_subjects.cpp
+ kio_single_subject.cpp kio_read.cpp kio_delete.cpp kmail_proto.cpp
+ sortedmailsubject.cpp korncfgimpl.cpp kornaccountcfgimpl.cpp kornboxcfgimpl.cpp
+ kornaccountcfg.ui kornboxcfg.ui korncfg.ui password.cpp pop3_proto.cpp
+ systemtray.cpp process_proto.cpp progress_dialog.ui qmail_proto.cpp label.cpp
+ LINK kmime-shared kio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/korn/kconf_update/CMakeLists.txt b/korn/kconf_update/CMakeLists.txt
new file mode 100644
index 000000000..88c06088c
--- /dev/null
+++ b/korn/kconf_update/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(
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES
+ korn-3-4-config_change.upd korn-3-5-update.upd
+ DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+
+install( PROGRAMS
+ korn-3-5-ssl-update.pl korn-3-5-metadata-update.pl
+ DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+
+
+##### korn-3-4-config_change (executable) #######
+
+tde_add_executable( korn-3-4-config_change
+ SOURCES korn-3-4-config_change.cpp
+ LINK ${TQT_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}/kconf_update_bin
+)
diff --git a/korn/label.cpp b/korn/label.cpp
new file mode 100644
index 000000000..ffca71731
--- /dev/null
+++ b/korn/label.cpp
@@ -0,0 +1,2 @@
+#include "label.h"
+#include "label.moc"