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/speedmonitor.h
37 bittorrent/torrentcontenthandler.h
38 bittorrent/torrentcontentlayout.h
39 bittorrent/torrentcreator.h
40 bittorrent/torrentdescriptor.h
41 bittorrent/torrentimpl.h
42 bittorrent/torrentinfo.h
44 bittorrent/trackerentry.h
45 concepts/explicitlyconvertibleto.h
52 http/irequesthandler.h
54 http/responsebuilder.h
55 http/responsegenerator.h
59 interfaces/iapplication.h
62 net/downloadhandlerimpl.h
67 net/proxyconfigurationmanager.h
68 net/reverseresolution.h
78 rss/rss_autodownloader.h
79 rss/rss_autodownloadrule.h
85 search/searchdownloadhandler.h
86 search/searchhandler.h
87 search/searchpluginmanager.h
114 addtorrentmanager.cpp
115 applicationcomponent.cpp
117 bittorrent/abstractfilestorage.cpp
118 bittorrent/addtorrentparams.cpp
119 bittorrent/bandwidthscheduler.cpp
120 bittorrent/bencoderesumedatastorage.cpp
121 bittorrent/categoryoptions.cpp
122 bittorrent/customstorage.cpp
123 bittorrent/dbresumedatastorage.cpp
124 bittorrent/downloadpathoption.cpp
125 bittorrent/downloadpriority.cpp
126 bittorrent/filesearcher.cpp
127 bittorrent/filterparserthread.cpp
128 bittorrent/infohash.cpp
129 bittorrent/ltqbitarray.cpp
130 bittorrent/nativesessionextension.cpp
131 bittorrent/nativetorrentextension.cpp
132 bittorrent/peeraddress.cpp
133 bittorrent/peerinfo.cpp
134 bittorrent/portforwarderimpl.cpp
135 bittorrent/resumedatastorage.cpp
136 bittorrent/sessionimpl.cpp
137 bittorrent/speedmonitor.cpp
138 bittorrent/torrent.cpp
139 bittorrent/torrentcontenthandler.cpp
140 bittorrent/torrentcreator.cpp
141 bittorrent/torrentdescriptor.cpp
142 bittorrent/torrentimpl.cpp
143 bittorrent/torrentinfo.cpp
144 bittorrent/tracker.cpp
145 bittorrent/trackerentry.cpp
149 http/requestparser.cpp
150 http/responsebuilder.cpp
151 http/responsegenerator.cpp
155 net/downloadhandlerimpl.cpp
156 net/downloadmanager.cpp
157 net/geoipdatabase.cpp
159 net/portforwarder.cpp
160 net/proxyconfigurationmanager.cpp
161 net/reverseresolution.cpp
167 rss/feed_serializer.cpp
169 rss/rss_autodownloader.cpp
170 rss/rss_autodownloadrule.cpp
176 search/searchdownloadhandler.cpp
177 search/searchhandler.cpp
178 search/searchpluginmanager.cpp
183 torrentfileswatcher.cpp
188 utils/foreignapps.cpp
202 target_link_libraries(qbt_base
208 LibtorrentRasterbar::torrent-rasterbar
217 if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
218 find_library(AppKit_LIBRARY AppKit)
219 find_library(Carbon_LIBRARY Carbon)
220 find_library(IOKit_LIBRARY IOKit)
222 target_link_libraries(qbt_base PRIVATE
227 elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows")
228 target_link_libraries(qbt_base PRIVATE Iphlpapi)
232 target_compile_definitions(qbt_base PUBLIC DISABLE_GUI)
236 target_compile_definitions(qbt_base PUBLIC DISABLE_WEBUI)
240 target_link_libraries(qbt_base PUBLIC Qt::DBus)