summaryrefslogtreecommitdiffstats
path: root/src/plugins/webinterface/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/webinterface/CMakeLists.txt')
-rw-r--r--src/plugins/webinterface/CMakeLists.txt40
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}
+)