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/torrentcontentremoveoption.h
42 bittorrent/torrentcontentremover.h
43 bittorrent/torrentcreationmanager.h
44 bittorrent/torrentcreationtask.h
45 bittorrent/torrentcreator.h
46 bittorrent/torrentdescriptor.h
47 bittorrent/torrentimpl.h
48 bittorrent/torrentinfo.h
50 bittorrent/trackerentry.h
51 bittorrent/trackerentrystatus.h
52 concepts/explicitlyconvertibleto.h
59 http/irequesthandler.h
61 http/responsebuilder.h
62 http/responsegenerator.h
66 interfaces/iapplication.h
69 net/downloadhandlerimpl.h
74 net/proxyconfigurationmanager.h
75 net/reverseresolution.h
85 rss/rss_autodownloader.h
86 rss/rss_autodownloadrule.h
92 search/searchdownloadhandler.h
93 search/searchhandler.h
94 search/searchpluginmanager.h
123 addtorrentmanager.cpp
124 applicationcomponent.cpp
126 bittorrent/abstractfilestorage.cpp
127 bittorrent/addtorrentparams.cpp
128 bittorrent/bandwidthscheduler.cpp
129 bittorrent/bencoderesumedatastorage.cpp
130 bittorrent/categoryoptions.cpp
131 bittorrent/customstorage.cpp
132 bittorrent/dbresumedatastorage.cpp
133 bittorrent/downloadpathoption.cpp
134 bittorrent/downloadpriority.cpp
135 bittorrent/filesearcher.cpp
136 bittorrent/filterparserthread.cpp
137 bittorrent/infohash.cpp
138 bittorrent/ltqbitarray.cpp
139 bittorrent/nativesessionextension.cpp
140 bittorrent/nativetorrentextension.cpp
141 bittorrent/peeraddress.cpp
142 bittorrent/peerinfo.cpp
143 bittorrent/portforwarderimpl.cpp
144 bittorrent/resumedatastorage.cpp
145 bittorrent/sessionimpl.cpp
146 bittorrent/speedmonitor.cpp
147 bittorrent/sslparameters.cpp
148 bittorrent/torrent.cpp
149 bittorrent/torrentcontenthandler.cpp
150 bittorrent/torrentcontentremover.cpp
151 bittorrent/torrentcreationmanager.cpp
152 bittorrent/torrentcreationtask.cpp
153 bittorrent/torrentcreator.cpp
154 bittorrent/torrentdescriptor.cpp
155 bittorrent/torrentimpl.cpp
156 bittorrent/torrentinfo.cpp
157 bittorrent/tracker.cpp
158 bittorrent/trackerentry.cpp
159 bittorrent/trackerentrystatus.cpp
163 http/requestparser.cpp
164 http/responsebuilder.cpp
165 http/responsegenerator.cpp
169 net/downloadhandlerimpl.cpp
170 net/downloadmanager.cpp
171 net/geoipdatabase.cpp
173 net/portforwarder.cpp
174 net/proxyconfigurationmanager.cpp
175 net/reverseresolution.cpp
181 rss/feed_serializer.cpp
183 rss/rss_autodownloader.cpp
184 rss/rss_autodownloadrule.cpp
190 search/searchdownloadhandler.cpp
191 search/searchhandler.cpp
192 search/searchpluginmanager.cpp
197 torrentfileswatcher.cpp
202 utils/foreignapps.cpp
218 target_link_libraries(qbt_base
224 LibtorrentRasterbar::torrent-rasterbar
233 if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
234 find_library(AppKit_LIBRARY AppKit)
235 find_library(Carbon_LIBRARY Carbon)
236 find_library(IOKit_LIBRARY IOKit)
238 target_link_libraries(qbt_base PRIVATE
243 elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows")
244 target_link_libraries(qbt_base PRIVATE Iphlpapi PowrProf)
248 target_compile_definitions(qbt_base PUBLIC DISABLE_GUI)
252 target_compile_definitions(qbt_base PUBLIC DISABLE_WEBUI)
256 target_link_libraries(qbt_base PUBLIC Qt::DBus)