summaryrefslogtreecommitdiffstats
path: root/src/plugins/stats
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/stats')
-rw-r--r--src/plugins/stats/CMakeLists.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/plugins/stats/CMakeLists.txt b/src/plugins/stats/CMakeLists.txt
new file mode 100644
index 0000000..3589eb6
--- /dev/null
+++ b/src/plugins/stats/CMakeLists.txt
@@ -0,0 +1,31 @@
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/src/libktorrent
+ ${CMAKE_CURRENT_BINARY_DIR}
+)
+
+
+##### ktstatsplugin (kpart)
+
+tde_add_kpart( ktstatsplugin AUTOMOC
+ SOURCES
+ ChartDrawerData.cpp ChartDrawer.cpp statsspdwgt.ui statsconwgt.ui StatsSpd.cpp
+ StatsCon.cpp sprefwgt.ui statspluginsettings.kcfgc StatsPluginPrefsPage.cpp
+ StatsPluginPrefs.cpp statsplugin.cpp
+ LINK
+ ktorrent-shared tdecore-shared tdeui-shared tdeio-shared tdeparts-shared tdehtml-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other files
+
+install(
+ FILES ktstatsplugin.kcfg
+ DESTINATION ${KCFG_INSTALL_DIR}
+)
+
+tde_create_translated_desktop(
+ SOURCE ktstatsplugin.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)