summaryrefslogtreecommitdiffstats
path: root/src/plugins/stats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-10 20:36:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-21 19:05:50 +0900
commit73da215882d7f96b6010fa99361c7cc10ec18bfb (patch)
treecea1a5016a94a9dac26cab8227e2513224288be3 /src/plugins/stats
parentbb099158e6c9fd0f1c2771cb9350d3b0a0b51a27 (diff)
downloadktorrent-73da2158.tar.gz
ktorrent-73da2158.zip
Conversion to cmake building system
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit bf204e931c605c73d761ec84943bb0cc94d7e7e4)
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}
+)