Warning, /network/kget/transfer-plugins/bittorrent/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 #Set supported mime type
0002 SET(SUPPORTED_KGET_MIMETYPES "${SUPPORTED_KGET_MIMETYPES}application/x-bittorrent;" PARENT_SCOPE)
0003 
0004 kde_enable_exceptions()
0005 
0006 add_library(kget_bittorrent MODULE)
0007 
0008 target_sources(kget_bittorrent PRIVATE
0009     bttransfer.cpp
0010     bttransferfactory.cpp
0011     bttransferhandler.cpp
0012     btdetailswidget.cpp
0013     scandlg.cpp
0014     #btdatasource.cpp
0015     #btchunkselector.cpp
0016     #btcache.cpp
0017     advanceddetails/btadvanceddetailswidget.cpp
0018     advanceddetails/chunkdownloadmodel.cpp
0019     advanceddetails/chunkdownloadview.cpp
0020     advanceddetails/fileview.cpp
0021     advanceddetails/iwfilelistmodel.cpp
0022     advanceddetails/iwfiletreemodel.cpp
0023     advanceddetails/peerview.cpp
0024     advanceddetails/peerviewmodel.cpp
0025     advanceddetails/torrentfilelistmodel.cpp
0026     advanceddetails/torrentfilemodel.cpp
0027     advanceddetails/torrentfiletreemodel.cpp
0028     advanceddetails/monitor.cpp
0029     advanceddetails/trackerview.cpp
0030     advanceddetails/trackermodel.cpp
0031     advanceddetails/webseedsmodel.cpp
0032     advanceddetails/webseedstab.cpp
0033     kget_bittorrentfactory.json
0034     ../../kget_debug.cpp
0035     )
0036 
0037 ki18n_wrap_ui(kget_bittorrent
0038     btdetailswidgetfrm.ui
0039     scandlg.ui
0040     advanceddetails/chunkdownloadview.ui
0041     advanceddetails/trackerview.ui
0042     advanceddetails/webseedstab.ui
0043     )
0044 
0045 kconfig_add_kcfg_files(kget_bittorrent bittorrentsettings.kcfgc)
0046 
0047 target_link_libraries(kget_bittorrent KF6::KIOCore KTorrent6 kgetcore)
0048 install(TARGETS kget_bittorrent DESTINATION  ${KGET_PLUGIN_INSTALL_DIR})
0049 
0050 ###Build KCM-Module
0051 kcoreaddons_add_plugin(kcm_kget_bittorrentfactory INSTALL_NAMESPACE "kget_kcms")
0052 
0053 target_sources(kcm_kget_bittorrentfactory PRIVATE
0054     btsettingswidget.cpp
0055     ../../kget_debug.cpp
0056     )
0057 
0058 ki18n_wrap_ui(kcm_kget_bittorrentfactory
0059     btsettingswidget.ui
0060     )
0061 
0062 kconfig_add_kcfg_files(kcm_kget_bittorrentfactory bittorrentsettings.kcfgc)
0063 target_link_libraries(kcm_kget_bittorrentfactory KF6::ConfigGui KF6::ConfigWidgets KF6::I18n KF6::KIOCore KF6::KIOWidgets KF6::KCMUtils)