2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
set(ksignalplotter_WIDGETS "ksignalplotter.widgets")
|
|
|
|
|
|
|
|
set(ksignalplotter_LIB_SRCS
|
|
|
|
ksignalplotter.cpp
|
|
|
|
kgraphicssignalplotter.cpp
|
|
|
|
)
|
2015-02-27 09:28:46 +00:00
|
|
|
|
2014-11-13 19:30:51 +02:00
|
|
|
kde4_add_library(ksignalplotter SHARED ${ksignalplotter_LIB_SRCS})
|
|
|
|
|
2015-06-25 01:28:57 +03:00
|
|
|
target_link_libraries(ksignalplotter PRIVATE ${KDE4_KDEUI_LIBS})
|
|
|
|
target_link_libraries(ksignalplotter PUBLIC ${KDE4_KDEUI_LIBS})
|
2014-11-13 19:30:51 +02:00
|
|
|
|
|
|
|
set_target_properties(ksignalplotter
|
|
|
|
PROPERTIES VERSION ${GENERIC_LIB_VERSION}
|
|
|
|
SOVERSION ${GENERIC_LIB_SOVERSION}
|
|
|
|
)
|
|
|
|
|
|
|
|
install(TARGETS ksignalplotter EXPORT kdeworkspaceLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS} )
|
|
|
|
|
|
|
|
#----------------------
|
|
|
|
|
|
|
|
kde4_add_widget_files(ksignalplotterwidgets_PART_SRCS ${ksignalplotter_WIDGETS})
|
|
|
|
|
|
|
|
kde4_add_plugin(ksignalplotterwidgets ${ksignalplotterwidgets_PART_SRCS})
|
|
|
|
|
|
|
|
target_link_libraries(ksignalplotterwidgets ${KDE4_KDEUI_LIBS} ksignalplotter)
|
|
|
|
|
|
|
|
install(TARGETS ksignalplotterwidgets DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/designer)
|
|
|
|
|
|
|
|
install(FILES ksignalplotter.h DESTINATION ${INCLUDE_INSTALL_DIR}/ksysguard COMPONENT Devel)
|