summaryrefslogtreecommitdiffstats
path: root/knewsticker/CMakeLists.txt
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 10:26:04 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 10:26:04 +0000
commit87c659b80aefce6e7ab3a6e7442ff8d526a1e51a (patch)
tree1caec93894058ea6eaa0da9cb281e16f29399ea5 /knewsticker/CMakeLists.txt
parent858c85b87d0679330e4fa00b81d374ab456f5b4f (diff)
downloadtdenetwork-87c659b80aefce6e7ab3a6e7442ff8d526a1e51a.tar.gz
tdenetwork-87c659b80aefce6e7ab3a6e7442ff8d526a1e51a.zip
[kdenetwork/knewsticker] added cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237373 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knewsticker/CMakeLists.txt')
-rw-r--r--knewsticker/CMakeLists.txt48
1 files changed, 48 insertions, 0 deletions
diff --git a/knewsticker/CMakeLists.txt b/knewsticker/CMakeLists.txt
new file mode 100644
index 00000000..116a1dad
--- /dev/null
+++ b/knewsticker/CMakeLists.txt
@@ -0,0 +1,48 @@
+#################################################
+#
+# (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( common )
+add_subdirectory( kntsrcfilepropsdlg )
+add_subdirectory( knewstickerstub )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/common
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( )
+install( FILES knewsticker.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+install( PROGRAMS knt-0.1-0.2.pl DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+install( FILES eventsrc DESTINATION ${DATA_INSTALL_DIR}/knewsticker )
+install( FILES knewsticker.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets )
+install( FILES knewsticker-standalone.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+
+##### knewsticker_panelapplet (module) ##########
+
+tde_add_kpart( knewsticker_panelapplet AUTOMOC
+ SOURCES
+ newsscroller.cpp knewsticker.cpp knewsticker.skel
+ knewstickerconfig.cpp knewstickerconfigwidget.ui
+ newssourcedlgimpl.cpp newssourcedlg.ui
+ LINK knewstickercommon-static kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)