summaryrefslogtreecommitdiffstats
path: root/krfb/kinetd/CMakeLists.txt
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-17 18:00:47 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-17 18:00:47 +0000
commit0ce518fe82a953534b57c963893d982c2033c18c (patch)
tree6c4d79082bbb58651f1c5cf9453fc796a57404e0 /krfb/kinetd/CMakeLists.txt
parentece9abdc38cb8c4cc35fb350e481cc62ef8f71d9 (diff)
downloadtdenetwork-0ce518fe82a953534b57c963893d982c2033c18c.tar.gz
tdenetwork-0ce518fe82a953534b57c963893d982c2033c18c.zip
[kdenetwork/krfb] added cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1254101 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krfb/kinetd/CMakeLists.txt')
-rw-r--r--krfb/kinetd/CMakeLists.txt38
1 files changed, 38 insertions, 0 deletions
diff --git a/krfb/kinetd/CMakeLists.txt b/krfb/kinetd/CMakeLists.txt
new file mode 100644
index 00000000..d74481af
--- /dev/null
+++ b/krfb/kinetd/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}/../srvloc
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kinetdmodule.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+install( FILES kinetd.desktop DESTINATION ${SERVICES_INSTALL_DIR}/kded )
+install( FILES eventsrc DESTINATION ${DATA_INSTALL_DIR}/kinetd )
+
+
+##### kded_kinetd (module) ######################
+
+tde_add_kpart( kded_kinetd AUTOMOC
+ SOURCES kinetd.cpp kinetd.skel
+ LINK
+ srvloc-static kdnssd-shared kdeinit_kded-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)