1 add_library(qbt_base STATIC
5 bittorrent/abstractfilestorage.h
6 bittorrent/addtorrentparams.h
7 bittorrent/bandwidthscheduler.h
8 bittorrent/bencoderesumedatastorage.h
9 bittorrent/cachestatus.h
11 bittorrent/customstorage.h
12 bittorrent/dbresumedatastorage.h
13 bittorrent/downloadpriority.h
14 bittorrent/filesearcher.h
15 bittorrent/filterparserthread.h
17 bittorrent/loadtorrentparams.h
19 bittorrent/ltunderlyingtype.h
20 bittorrent/magneturi.h
21 bittorrent/nativesessionextension.h
22 bittorrent/nativetorrentextension.h
23 bittorrent/peeraddress.h
25 bittorrent/portforwarderimpl.h
26 bittorrent/resumedatastorage.h
28 bittorrent/sessionstatus.h
29 bittorrent/speedmonitor.h
30 bittorrent/statistics.h
32 bittorrent/torrentcontentlayout.h
33 bittorrent/torrentcreatorthread.h
34 bittorrent/torrentimpl.h
35 bittorrent/torrentinfo.h
37 bittorrent/trackerentry.h
43 http/irequesthandler.h
45 http/responsebuilder.h
46 http/responsegenerator.h
53 net/downloadhandlerimpl.h
58 net/proxyconfigurationmanager.h
59 net/reverseresolution.h
66 rss/rss_autodownloader.h
67 rss/rss_autodownloadrule.h
73 search/searchdownloadhandler.h
74 search/searchhandler.h
75 search/searchpluginmanager.h
99 bittorrent/abstractfilestorage.cpp
100 bittorrent/bandwidthscheduler.cpp
101 bittorrent/bencoderesumedatastorage.cpp
102 bittorrent/customstorage.cpp
103 bittorrent/dbresumedatastorage.cpp
104 bittorrent/downloadpriority.cpp
105 bittorrent/filesearcher.cpp
106 bittorrent/filterparserthread.cpp
107 bittorrent/infohash.cpp
108 bittorrent/magneturi.cpp
109 bittorrent/nativesessionextension.cpp
110 bittorrent/nativetorrentextension.cpp
111 bittorrent/peeraddress.cpp
112 bittorrent/peerinfo.cpp
113 bittorrent/portforwarderimpl.cpp
114 bittorrent/session.cpp
115 bittorrent/speedmonitor.cpp
116 bittorrent/statistics.cpp
117 bittorrent/torrent.cpp
118 bittorrent/torrentcreatorthread.cpp
119 bittorrent/torrentimpl.cpp
120 bittorrent/torrentinfo.cpp
121 bittorrent/tracker.cpp
122 bittorrent/trackerentry.cpp
126 http/requestparser.cpp
127 http/responsebuilder.cpp
128 http/responsegenerator.cpp
133 net/downloadhandlerimpl.cpp
134 net/downloadmanager.cpp
135 net/geoipdatabase.cpp
137 net/portforwarder.cpp
138 net/proxyconfigurationmanager.cpp
139 net/reverseresolution.cpp
145 rss/rss_autodownloader.cpp
146 rss/rss_autodownloadrule.cpp
152 search/searchdownloadhandler.cpp
153 search/searchhandler.cpp
154 search/searchpluginmanager.cpp
158 torrentfileswatcher.cpp
162 utils/foreignapps.cpp
173 target_link_libraries(qbt_base
175 OpenSSL::Crypto OpenSSL::SSL
178 LibtorrentRasterbar::torrent-rasterbar
179 Qt5::Core Qt5::Network Qt5::Sql Qt5::Xml
183 if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
184 find_library(IOKit_LIBRARY IOKit)
185 find_library(Carbon_LIBRARY Carbon)
186 find_library(AppKit_LIBRARY AppKit)
188 target_link_libraries(qbt_base PRIVATE
193 elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows")
194 target_link_libraries(qbt_base PRIVATE Iphlpapi)
198 target_compile_definitions(qbt_base PUBLIC DISABLE_GUI)
202 target_compile_definitions(qbt_base PUBLIC DISABLE_WEBUI)
206 target_link_libraries(qbt_base PUBLIC Qt5::DBus)