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

« back to all changes in this revision

Viewing changes to libs/ksysguard/signalplotter/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
 
 
2
set(ksignalplotter_WIDGETS "ksignalplotter.widgets")
 
3
 
 
4
set(ksignalplotter_LIB_SRCS
 
5
    ksignalplotter.cpp
 
6
    kgraphicssignalplotter.cpp
 
7
)
 
8
KDE4_MOC_HEADERS(ksignalplotter ksignalplotter.h kgraphicssignalplotter.h)
 
9
kde4_add_library(ksignalplotter SHARED ${ksignalplotter_LIB_SRCS})
 
10
 
 
11
target_link_libraries(ksignalplotter ${KDE4_KDEUI_LIBS})
 
12
target_link_libraries(ksignalplotter LINK_INTERFACE_LIBRARIES ${KDE4_KDEUI_LIBS})
 
13
 
 
14
set_target_properties(ksignalplotter
 
15
   PROPERTIES VERSION ${GENERIC_LIB_VERSION}
 
16
   SOVERSION ${GENERIC_LIB_SOVERSION}
 
17
   )
 
18
 
 
19
install(TARGETS ksignalplotter EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
 
20
 
 
21
#----------------------
 
22
 
 
23
kde4_add_widget_files(ksignalplotterwidgets_PART_SRCS ${ksignalplotter_WIDGETS})
 
24
 
 
25
kde4_add_plugin(ksignalplotterwidgets ${ksignalplotterwidgets_PART_SRCS})
 
26
 
 
27
target_link_libraries(ksignalplotterwidgets ${KDE4_KDEUI_LIBS} ksignalplotter)
 
28
 
 
29
install(TARGETS ksignalplotterwidgets DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/designer)
 
30
 
 
31
install(FILES ksignalplotter.h DESTINATION ${INCLUDE_INSTALL_DIR}/ksysguard COMPONENT Devel)