summaryrefslogtreecommitdiffstats
path: root/src/knemod/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/knemod/CMakeLists.txt')
-rw-r--r--src/knemod/CMakeLists.txt60
1 files changed, 60 insertions, 0 deletions
diff --git a/src/knemod/CMakeLists.txt b/src/knemod/CMakeLists.txt
new file mode 100644
index 0000000..648d40c
--- /dev/null
+++ b/src/knemod/CMakeLists.txt
@@ -0,0 +1,60 @@
+add_subdirectory( pics )
+add_subdirectory( backends )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/src/knemod/backends
+ ${CMAKE_SOURCE_DIR}/src/common
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIB_DIR}
+)
+
+
+##### kded_knemod (kpart)
+
+tde_add_kpart( kded_knemod AUTOMOC
+
+ SOURCES
+ interfacestatusdlg.ui
+ interfacestatisticsdlg.ui
+ knemodaemon.skel
+ knemodaemon.cpp
+ interface.cpp
+ interfaceicon.cpp
+ interfacetray.cpp
+ interfacemonitor.cpp
+ interfacestatusdialog.cpp
+ interfacetooltip.cpp
+ signalplotter.cpp
+ interfacestatistics.cpp
+ interfacestatisticsdialog.cpp
+ LINK
+ tdecore-shared
+ tdeio-shared
+ tdeui-shared
+ tdeutils-shared
+ tdeinit_kded
+ knemo_backends-static
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+install(
+ FILES eventsrc
+ DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
+)
+
+install(
+ FILES knemod.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}/kded
+)