~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to statusnotifierwatcher/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
project(StatusNotifierWatcher)
 
2
 
 
3
set(kded_statusnotifierwatcher_SRCS statusnotifierwatcher.cpp )
 
4
 
 
5
QT4_ADD_DBUS_ADAPTOR(kded_statusnotifierwatcher_SRCS     ${KDE4_DBUS_INTERFACES_DIR}/org.kde.StatusNotifierWatcher.xml
 
6
                     statusnotifierwatcher.h StatusNotifierWatcher)
 
7
 
 
8
 
 
9
set(statusnotifieritem_xml ${KDE4_DBUS_INTERFACES_DIR}/org.kde.StatusNotifierItem.xml)
 
10
set_source_files_properties(${statusnotifieritem_xml} PROPERTIES
 
11
   NO_NAMESPACE false
 
12
   INCLUDE "systemtraytypedefs.h"
 
13
   CLASSNAME OrgKdeStatusNotifierItemInterface
 
14
)
 
15
QT4_ADD_DBUS_INTERFACE(kded_statusnotifierwatcher_SRCS ${statusnotifieritem_xml} statusnotifieritem_interface)
 
16
 
 
17
kde4_add_plugin(kded_statusnotifierwatcher ${kded_statusnotifierwatcher_SRCS})
 
18
 
 
19
 
 
20
target_link_libraries(kded_statusnotifierwatcher  ${KDE4_KIO_LIBS} )
 
21
 
 
22
install(TARGETS kded_statusnotifierwatcher  DESTINATION ${PLUGIN_INSTALL_DIR})
 
23
 
 
24
 
 
25
install( FILES statusnotifierwatcher.desktop  DESTINATION ${SERVICES_INSTALL_DIR}/kded)
 
26