1 add_library(qbt_base STATIC
7 bittorrent/abstractfilestorage.h
8 bittorrent/addtorrentparams.h
9 bittorrent/bandwidthscheduler.h
10 bittorrent/bencoderesumedatastorage.h
11 bittorrent/cachestatus.h
12 bittorrent/categoryoptions.h
14 bittorrent/customstorage.h
15 bittorrent/dbresumedatastorage.h
16 bittorrent/downloadpriority.h
17 bittorrent/extensiondata.h
18 bittorrent/filesearcher.h
19 bittorrent/filterparserthread.h
21 bittorrent/loadtorrentparams.h
22 bittorrent/ltqbitarray.h
24 bittorrent/lttypecast.h
25 bittorrent/magneturi.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/torrentcreatorthread.h
40 bittorrent/torrentimpl.h
41 bittorrent/torrentinfo.h
43 bittorrent/trackerentry.h
49 http/irequesthandler.h
51 http/responsebuilder.h
52 http/responsegenerator.h
57 interfaces/iapplication.h
58 interfaces/istringable.h
61 net/downloadhandlerimpl.h
66 net/proxyconfigurationmanager.h
67 net/reverseresolution.h
77 rss/rss_autodownloader.h
78 rss/rss_autodownloadrule.h
84 search/searchdownloadhandler.h
85 search/searchhandler.h
86 search/searchpluginmanager.h
111 applicationcomponent.cpp
113 bittorrent/abstractfilestorage.cpp
114 bittorrent/addtorrentparams.cpp
115 bittorrent/bandwidthscheduler.cpp
116 bittorrent/bencoderesumedatastorage.cpp
117 bittorrent/categoryoptions.cpp
118 bittorrent/customstorage.cpp
119 bittorrent/dbresumedatastorage.cpp
120 bittorrent/downloadpriority.cpp
121 bittorrent/filesearcher.cpp
122 bittorrent/filterparserthread.cpp
123 bittorrent/infohash.cpp
124 bittorrent/ltqbitarray.cpp
125 bittorrent/magneturi.cpp
126 bittorrent/nativesessionextension.cpp
127 bittorrent/nativetorrentextension.cpp
128 bittorrent/peeraddress.cpp
129 bittorrent/peerinfo.cpp
130 bittorrent/portforwarderimpl.cpp
131 bittorrent/resumedatastorage.cpp
132 bittorrent/sessionimpl.cpp
133 bittorrent/speedmonitor.cpp
134 bittorrent/torrent.cpp
135 bittorrent/torrentcontenthandler.cpp
136 bittorrent/torrentcreatorthread.cpp
137 bittorrent/torrentimpl.cpp
138 bittorrent/torrentinfo.cpp
139 bittorrent/tracker.cpp
140 bittorrent/trackerentry.cpp
144 http/requestparser.cpp
145 http/responsebuilder.cpp
146 http/responsegenerator.cpp
151 net/downloadhandlerimpl.cpp
152 net/downloadmanager.cpp
153 net/geoipdatabase.cpp
155 net/portforwarder.cpp
156 net/proxyconfigurationmanager.cpp
157 net/reverseresolution.cpp
163 rss/feed_serializer.cpp
165 rss/rss_autodownloader.cpp
166 rss/rss_autodownloadrule.cpp
172 search/searchdownloadhandler.cpp
173 search/searchhandler.cpp
174 search/searchpluginmanager.cpp
178 torrentfileswatcher.cpp
182 utils/foreignapps.cpp
195 target_link_libraries(qbt_base
201 LibtorrentRasterbar::torrent-rasterbar
210 if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
211 find_library(IOKit_LIBRARY IOKit)
212 find_library(Carbon_LIBRARY Carbon)
213 find_library(AppKit_LIBRARY AppKit)
215 target_link_libraries(qbt_base PRIVATE
220 elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows")
221 target_link_libraries(qbt_base PRIVATE Iphlpapi)
225 target_compile_definitions(qbt_base PUBLIC DISABLE_GUI)
229 target_compile_definitions(qbt_base PUBLIC DISABLE_WEBUI)
233 target_link_libraries(qbt_base PUBLIC Qt::DBus)