kde-workspace/libs/ksysguard/signalplotter/CMakeLists.txt

40 lines
915 B
Text
Raw Normal View History

2014-11-13 19:30:51 +02:00
set(ksignalplotter_LIB_SRCS
ksignalplotter.cpp
)
2015-02-27 09:28:46 +00:00
2015-09-01 04:37:19 +03:00
add_library(ksignalplotter SHARED ${ksignalplotter_LIB_SRCS})
target_link_libraries(ksignalplotter PUBLIC KDE4::kdeui)
2014-11-13 19:30:51 +02:00
set_target_properties(ksignalplotter
PROPERTIES VERSION ${GENERIC_LIB_VERSION}
SOVERSION ${GENERIC_LIB_SOVERSION}
)
2014-11-13 19:30:51 +02:00
install(
TARGETS ksignalplotter
EXPORT kdeworkspaceTargets
DESTINATION ${KDE4_LIB_INSTALL_DIR}
)
2014-11-13 19:30:51 +02:00
#----------------------
kde4_add_widget(ksignalplotterwidgets_SRCS ksignalplotter.widgets)
2014-11-13 19:30:51 +02:00
kde4_add_plugin(ksignalplotterwidgets ${ksignalplotterwidgets_SRCS} ${ksignalplotterwidgets_PART_SRCS})
2014-11-13 19:30:51 +02:00
target_link_libraries(ksignalplotterwidgets
KDE4::kdeui
${QT_QTUITOOLS_LIBRARY}
ksignalplotter
)
2014-11-13 19:30:51 +02:00
install(
TARGETS ksignalplotterwidgets
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}/plugins/designer
)
2014-11-13 19:30:51 +02:00
install(
FILES ksignalplotter.h
DESTINATION ${KDE4_INCLUDE_INSTALL_DIR}/ksysguard
)