diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-10 20:36:49 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-03-21 19:05:50 +0900 |
| commit | 73da215882d7f96b6010fa99361c7cc10ec18bfb (patch) | |
| tree | cea1a5016a94a9dac26cab8227e2513224288be3 /src/plugins/webinterface/CMakeLists.txt | |
| parent | bb099158e6c9fd0f1c2771cb9350d3b0a0b51a27 (diff) | |
| download | ktorrent-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/webinterface/CMakeLists.txt')
| -rw-r--r-- | src/plugins/webinterface/CMakeLists.txt | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/plugins/webinterface/CMakeLists.txt b/src/plugins/webinterface/CMakeLists.txt new file mode 100644 index 0000000..28925a4 --- /dev/null +++ b/src/plugins/webinterface/CMakeLists.txt @@ -0,0 +1,40 @@ + +##### subfolders + +add_subdirectory( www ) + + +##### current folder + +include_directories( + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/src/libktorrent + ${CMAKE_BINARY_DIR}/src/libktorrent +) + + +##### ktwebinterfaceplugin (kpart) + +tde_add_kpart( ktwebinterfaceplugin AUTOMOC + SOURCES + webinterfaceplugin.cpp httpserver.cpp php_handler.cpp php_interface.cpp webinterfacepref.ui + webinterfacepluginsettings.kcfgc webinterfaceprefwidget.cpp webinterfaceprefpage.cpp + httpclienthandler.cpp httpresponseheader.cpp + LINK + ktorrent-shared tdecore-shared tdeui-shared tdeio-shared tdeparts-shared tdehtml-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other files + +install( + FILES ktwebinterfaceplugin.kcfg + DESTINATION ${KCFG_INSTALL_DIR} +) + +tde_create_translated_desktop( + SOURCE ktwebinterfaceplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) |
