summaryrefslogtreecommitdiffstats
path: root/knode
diff options
context:
space:
mode:
Diffstat (limited to 'knode')
-rw-r--r--knode/CMakeLists.txt115
-rw-r--r--knode/filters/CMakeLists.txt15
-rw-r--r--knode/pics/CMakeLists.txt21
3 files changed, 151 insertions, 0 deletions
diff --git a/knode/CMakeLists.txt b/knode/CMakeLists.txt
new file mode 100644
index 000000000..dbea9c71f
--- /dev/null
+++ b/knode/CMakeLists.txt
@@ -0,0 +1,115 @@
+#################################################
+#
+# (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_THREADS)
+
+tde_import( ktnef )
+tde_import( libkcal )
+tde_import( libkmime )
+tde_import( libkdepim )
+tde_import( libkpgp )
+
+add_subdirectory( pics )
+add_subdirectory( filters )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libemailfunctions
+ ${CMAKE_SOURCE_DIR}/libkmime
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${CMAKE_SOURCE_DIR}/libkpgp
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( )
+
+install( FILES
+ KNode.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+install( FILES
+ knewsservice.protocol knode_config_identity.desktop
+ knode_config_accounts.desktop knode_config_appearance.desktop
+ knode_config_read_news.desktop knode_config_post_news.desktop
+ knode_config_privacy.desktop knode_config_cleanup.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR} )
+
+install( FILES
+ headers.rc knodeui.rc knreaderui.rc kncomposerui.rc
+ DESTINATION ${DATA_INSTALL_DIR}/knode )
+
+
+##### knodecommon (shared) ######################
+
+tde_add_library( knodecommon SHARED AUTOMOC
+ SOURCES
+ knconfigmanager.cpp knconfig.cpp knconfigwidgets.cpp
+ knnetaccess.cpp knprotocolclient.cpp knnntpclient.cpp knjobdata.cpp
+ knaccountmanager.cpp kncollection.cpp kncollectionviewitem.cpp
+ knserverinfo.cpp knnntpaccount.cpp kngroupmanager.cpp
+ knarticlecollection.cpp kngroup.cpp kngroupbrowser.cpp
+ kngroupselectdialog.cpp kngroupdialog.cpp kngrouppropdlg.cpp
+ knfoldermanager.cpp knfolder.cpp knmemorymanager.cpp
+ kncleanup.cpp knconvert.cpp knarticlemanager.cpp knarticle.cpp
+ kndisplayedheader.cpp knsourceviewwindow.cpp knarticlewindow.cpp
+ knhdrviewitem.cpp kncomposer.cpp knarticlefactory.cpp
+ knfiltermanager.cpp knstatusfilter.cpp knstringfilter.cpp
+ knrangefilter.cpp knarticlefilter.cpp knfilterconfigwidget.cpp
+ knfilterdialog.cpp knsearchdialog.cpp utilities.cpp knscoring.cpp
+ knwidgets.cpp headerview.cpp knmainwidget.cpp aboutdata.cpp
+ knglobals.cpp knodecomposeriface.skel knodeiface.skel
+ kncollectionview.cpp articlewidget.cpp csshelper.cpp
+ smtpaccountwidget_base.ui
+ VERSION 3.0.0
+ LINK emailfunctions-static kdepim-shared kpgp-shared khtml-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### kcm_knode (module) ########################
+
+tde_add_kpart( kcm_knode AUTOMOC
+ SOURCES
+ knconfigpages.cpp
+ LINK knodecommon-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### libknodepart (module) #####################
+
+tde_add_kpart( libknodepart AUTOMOC
+ SOURCES
+ knode_part.cpp
+ LINK knodecommon-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### knode (executable) ########################
+
+tde_add_executable( knode AUTOMOC
+ SOURCES
+ knode.cpp knapplication.cpp main.cpp
+ LINK knodecommon-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/knode/filters/CMakeLists.txt b/knode/filters/CMakeLists.txt
new file mode 100644
index 000000000..6617f9317
--- /dev/null
+++ b/knode/filters/CMakeLists.txt
@@ -0,0 +1,15 @@
+#################################################
+#
+# (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
+ 1.fltr 2.fltr 3.fltr 4.fltr 5.fltr 6.fltr
+ 7.fltr 8.fltr filters.rc
+ DESTINATION ${DATA_INSTALL_DIR}/knode/filters )
diff --git a/knode/pics/CMakeLists.txt b/knode/pics/CMakeLists.txt
new file mode 100644
index 000000000..bac85b786
--- /dev/null
+++ b/knode/pics/CMakeLists.txt
@@ -0,0 +1,21 @@
+#################################################
+#
+# (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(
+ message_reply mail_get_all
+ DESTINATION ${DATA_INSTALL_DIR}/knode/icons )
+
+install( FILES
+ stat_edit.png mail.png stat_saved.png ctlart.png greyball.png
+ ignore.png newsubs.png stat_sent.png eyes.png greyballchk.png
+ snderr.png group.png posting.png stat_cncl.png pgp-keys.png
+ group_big.png article.png
+ DESTINATION ${DATA_INSTALL_DIR}/knode/pics )