Changeset View
Changeset View
Standalone View
Standalone View
plugins/htmlinterface/CMakeLists.txt
1 | set(kthtmlinterfaceplugin_SRC htmlinterfaceplugin.cpp mongoose.c webserver.cpp torrentlistgenerator.cpp) | 1 | set(kthtmlinterfaceplugin_SRC htmlinterfaceplugin.cpp webserver.cpp torrentlistgenerator.cpp) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | ki18n_wrap_ui(kthtmlinterfaceplugin_SRC htmlinterfacewidget.ui) | 3 | ki18n_wrap_ui(kthtmlinterfaceplugin_SRC htmlinterfacewidget.ui) | ||
4 | 4 | | |||
5 | add_library(ktorrent_htmlinterface MODULE ${kthtmlinterfaceplugin_SRC}) | 5 | add_library(ktorrent_htmlinterface MODULE ${kthtmlinterfaceplugin_SRC}) | ||
6 | 6 | | |||
7 | add_subdirectory(html) | 7 | add_subdirectory(html) | ||
8 | 8 | | |||
9 | kcoreaddons_desktop_to_json(ktorrent_htmlinterface ktorrent_htmlinterface.desktop) | 9 | kcoreaddons_desktop_to_json(ktorrent_htmlinterface ktorrent_htmlinterface.desktop) | ||
10 | 10 | | |||
11 | target_link_libraries( | 11 | target_link_libraries( | ||
12 | ktorrent_htmlinterface | 12 | ktorrent_htmlinterface | ||
13 | microhttpd | ||||
13 | ktcore | 14 | ktcore | ||
14 | KF5::Torrent | 15 | KF5::Torrent | ||
15 | KF5::ConfigCore | 16 | KF5::ConfigCore | ||
16 | KF5::CoreAddons | 17 | KF5::CoreAddons | ||
17 | KF5::I18n | 18 | KF5::I18n | ||
18 | KF5::XmlGui | 19 | KF5::XmlGui | ||
19 | ) | 20 | ) | ||
20 | 21 | | |||
21 | install(TARGETS ktorrent_htmlinterface DESTINATION ${KTORRENT_PLUGIN_INSTALL_DIR} ) | 22 | install(TARGETS ktorrent_htmlinterface DESTINATION ${KTORRENT_PLUGIN_INSTALL_DIR} ) | ||
22 | install(FILES ktorrent_htmlinterface.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/ktorrent ) | 23 | install(FILES ktorrent_htmlinterface.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/ktorrent ) |