1 add_library(qbt_base STATIC
8 bittorrent/abstractfilestorage.h
9 bittorrent/addtorrentparams.h
10 bittorrent/bandwidthscheduler.h
11 bittorrent/bencoderesumedatastorage.h
12 bittorrent/cachestatus.h
13 bittorrent/categoryoptions.h
15 bittorrent/customstorage.h
16 bittorrent/dbresumedatastorage.h
17 bittorrent/downloadpathoption.h
18 bittorrent/downloadpriority.h
19 bittorrent/extensiondata.h
20 bittorrent/filesearcher.h
21 bittorrent/filterparserthread.h
23 bittorrent/loadtorrentparams.h
24 bittorrent/ltqbitarray.h
25 bittorrent/lttypecast.h
26 bittorrent/nativesessionextension.h
27 bittorrent/nativetorrentextension.h
28 bittorrent/peeraddress.h
30 bittorrent/portforwarderimpl.h
31 bittorrent/resumedatastorage.h
33 bittorrent/sessionimpl.h
34 bittorrent/sessionstatus.h
35 bittorrent/sharelimitaction.h
36 bittorrent/speedmonitor.h
37 bittorrent/sslparameters.h
39 bittorrent/torrentcontenthandler.h
40 bittorrent/torrentcontentlayout.h
41 bittorrent/torrentcreationmanager.h
42 bittorrent/torrentcreationtask.h
43 bittorrent/torrentcreator.h
44 bittorrent/torrentdescriptor.h
45 bittorrent/torrentimpl.h
46 bittorrent/torrentinfo.h
48 bittorrent/trackerentry.h
49 concepts/explicitlyconvertibleto.h
56 http/irequesthandler.h
58 http/responsebuilder.h
59 http/responsegenerator.h
63 interfaces/iapplication.h
66 net/downloadhandlerimpl.h
71 net/proxyconfigurationmanager.h
72 net/reverseresolution.h
82 rss/rss_autodownloader.h
83 rss/rss_autodownloadrule.h
89 search/searchdownloadhandler.h
90 search/searchhandler.h
91 search/searchpluginmanager.h
119 addtorrentmanager.cpp
120 applicationcomponent.cpp
122 bittorrent/abstractfilestorage.cpp
123 bittorrent/addtorrentparams.cpp
124 bittorrent/bandwidthscheduler.cpp
125 bittorrent/bencoderesumedatastorage.cpp
126 bittorrent/categoryoptions.cpp
127 bittorrent/customstorage.cpp
128 bittorrent/dbresumedatastorage.cpp
129 bittorrent/downloadpathoption.cpp
130 bittorrent/downloadpriority.cpp
131 bittorrent/filesearcher.cpp
132 bittorrent/filterparserthread.cpp
133 bittorrent/infohash.cpp
134 bittorrent/ltqbitarray.cpp
135 bittorrent/nativesessionextension.cpp
136 bittorrent/nativetorrentextension.cpp
137 bittorrent/peeraddress.cpp
138 bittorrent/peerinfo.cpp
139 bittorrent/portforwarderimpl.cpp
140 bittorrent/resumedatastorage.cpp
141 bittorrent/sessionimpl.cpp
142 bittorrent/speedmonitor.cpp
143 bittorrent/sslparameters.cpp
144 bittorrent/torrent.cpp
145 bittorrent/torrentcontenthandler.cpp
146 bittorrent/torrentcreationmanager.cpp
147 bittorrent/torrentcreationtask.cpp
148 bittorrent/torrentcreator.cpp
149 bittorrent/torrentdescriptor.cpp
150 bittorrent/torrentimpl.cpp
151 bittorrent/torrentinfo.cpp
152 bittorrent/tracker.cpp
153 bittorrent/trackerentry.cpp
157 http/requestparser.cpp
158 http/responsebuilder.cpp
159 http/responsegenerator.cpp
163 net/downloadhandlerimpl.cpp
164 net/downloadmanager.cpp
165 net/geoipdatabase.cpp
167 net/portforwarder.cpp
168 net/proxyconfigurationmanager.cpp
169 net/reverseresolution.cpp
175 rss/feed_serializer.cpp
177 rss/rss_autodownloader.cpp
178 rss/rss_autodownloadrule.cpp
184 search/searchdownloadhandler.cpp
185 search/searchhandler.cpp
186 search/searchpluginmanager.cpp
191 torrentfileswatcher.cpp
196 utils/foreignapps.cpp
211 target_link_libraries(qbt_base
217 LibtorrentRasterbar::torrent-rasterbar
226 if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
227 find_library(AppKit_LIBRARY AppKit)
228 find_library(Carbon_LIBRARY Carbon)
229 find_library(IOKit_LIBRARY IOKit)
231 target_link_libraries(qbt_base PRIVATE
236 elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows")
237 target_link_libraries(qbt_base PRIVATE Iphlpapi PowrProf)
241 target_compile_definitions(qbt_base PUBLIC DISABLE_GUI)
245 target_compile_definitions(qbt_base PUBLIC DISABLE_WEBUI)
249 target_link_libraries(qbt_base PUBLIC Qt::DBus)