1 project(plasma-system-monitor)
2 include_directories(${CMAKE_CURRENT_SOURCE_DIR} )
10 kde4_add_library(plasma_applet-system-monitor SHARED ${lib_SRCS})
12 target_link_libraries(plasma_applet-system-monitor ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS})
14 set_target_properties(plasma_applet-system-monitor PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
21 kde4_add_ui_files(hdd_SRCS hdd-config.ui)
22 kde4_add_plugin(plasma_applet_sm_hdd ${hdd_SRCS})
23 target_link_libraries(plasma_applet_sm_hdd ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} plasma_applet-system-monitor)
30 kde4_add_ui_files(temparature_SRCS temperature-config.ui)
31 kde4_add_plugin(plasma_applet_sm_temperature ${temparature_SRCS})
32 target_link_libraries(plasma_applet_sm_temperature ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} plasma_applet-system-monitor)
39 kde4_add_ui_files(net_SRCS net-config.ui)
40 kde4_add_plugin(plasma_applet_sm_net ${net_SRCS})
41 target_link_libraries(plasma_applet_sm_net ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} plasma_applet-system-monitor)
48 kde4_add_ui_files(cpu_SRCS cpu-config.ui)
49 kde4_add_plugin(plasma_applet_sm_cpu ${cpu_SRCS})
50 target_link_libraries(plasma_applet_sm_cpu ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} plasma_applet-system-monitor)
57 kde4_add_plugin(plasma_applet_sm_hwinfo ${hwinfo_SRCS})
58 target_link_libraries(plasma_applet_sm_hwinfo ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} plasma_applet-system-monitor)
65 #kde4_add_ui_files(ram_SRCS ram-config.ui)
66 #kde4_add_plugin(plasma_applet_sm_ram ${ram_SRCS})
67 #target_link_libraries(plasma_applet_sm_ram ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} plasma_applet-system-monitor)
71 set(system-monitor_SRCS
75 kde4_add_plugin(plasma_applet_system-monitor ${system-monitor_SRCS})
76 target_link_libraries(plasma_applet_system-monitor ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} plasma_applet-system-monitor)
80 plasma_applet-system-monitor
81 ${INSTALL_TARGETS_DEFAULT_ARGS})
84 plasma_applet_sm_temperature
85 plasma_applet_sm_hwinfo
89 plasma_applet_system-monitor
90 DESTINATION ${PLUGIN_INSTALL_DIR})
92 plasma-applet-sm_hdd.desktop
93 plasma-applet-sm_temperature.desktop
94 plasma-applet-sm_hwinfo.desktop
95 plasma-applet-sm_net.desktop
96 plasma-applet-sm_cpu.desktop
97 #plasma-applet-sm_ram.desktop
98 plasma-applet-system-monitor.desktop
99 DESTINATION ${SERVICES_INSTALL_DIR})
102 DESTINATION ${DATA_INSTALL_DIR}/desktoptheme/default/system-monitor/)