summaryrefslogtreecommitdiffstats
path: root/src/plugins/webinterface/CMakeLists.txt
blob: 28925a45be27796188a39126b8bd3a8d951f49dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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}
)