2
set(ksignalplotter_WIDGETS "ksignalplotter.widgets")
4
set(ksignalplotter_LIB_SRCS
6
kgraphicssignalplotter.cpp
8
KDE4_MOC_HEADERS(ksignalplotter ksignalplotter.h kgraphicssignalplotter.h)
9
kde4_add_library(ksignalplotter SHARED ${ksignalplotter_LIB_SRCS})
11
target_link_libraries(ksignalplotter ${KDE4_KDEUI_LIBS})
12
target_link_libraries(ksignalplotter LINK_INTERFACE_LIBRARIES ${KDE4_KDEUI_LIBS})
14
set_target_properties(ksignalplotter
15
PROPERTIES VERSION ${GENERIC_LIB_VERSION}
16
SOVERSION ${GENERIC_LIB_SOVERSION}
19
install(TARGETS ksignalplotter EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
21
#----------------------
23
kde4_add_widget_files(ksignalplotterwidgets_PART_SRCS ${ksignalplotter_WIDGETS})
25
kde4_add_plugin(ksignalplotterwidgets ${ksignalplotterwidgets_PART_SRCS})
27
target_link_libraries(ksignalplotterwidgets ${KDE4_KDEUI_LIBS} ksignalplotter)
29
install(TARGETS ksignalplotterwidgets DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/designer)
31
install(FILES ksignalplotter.h DESTINATION ${INCLUDE_INSTALL_DIR}/ksysguard COMPONENT Devel)