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/torrentcontentlayout.h
38 bittorrent/torrentcreatorthread.h
39 bittorrent/torrentimpl.h
40 bittorrent/torrentinfo.h
42 bittorrent/trackerentry.h
48 http/irequesthandler.h
50 http/responsebuilder.h
51 http/responsegenerator.h
56 interfaces/iapplication.h
57 interfaces/istringable.h
60 net/downloadhandlerimpl.h
65 net/proxyconfigurationmanager.h
66 net/reverseresolution.h
76 rss/rss_autodownloader.h
77 rss/rss_autodownloadrule.h
83 search/searchdownloadhandler.h
84 search/searchhandler.h
85 search/searchpluginmanager.h
108 applicationcomponent.cpp
110 bittorrent/abstractfilestorage.cpp
111 bittorrent/bandwidthscheduler.cpp
112 bittorrent/bencoderesumedatastorage.cpp
113 bittorrent/categoryoptions.cpp
114 bittorrent/customstorage.cpp
115 bittorrent/dbresumedatastorage.cpp
116 bittorrent/downloadpriority.cpp
117 bittorrent/filesearcher.cpp
118 bittorrent/filterparserthread.cpp
119 bittorrent/infohash.cpp
120 bittorrent/ltqbitarray.cpp
121 bittorrent/magneturi.cpp
122 bittorrent/nativesessionextension.cpp
123 bittorrent/nativetorrentextension.cpp
124 bittorrent/peeraddress.cpp
125 bittorrent/peerinfo.cpp
126 bittorrent/portforwarderimpl.cpp
127 bittorrent/resumedatastorage.cpp
128 bittorrent/sessionimpl.cpp
129 bittorrent/speedmonitor.cpp
130 bittorrent/torrent.cpp
131 bittorrent/torrentcreatorthread.cpp
132 bittorrent/torrentimpl.cpp
133 bittorrent/torrentinfo.cpp
134 bittorrent/tracker.cpp
135 bittorrent/trackerentry.cpp
139 http/requestparser.cpp
140 http/responsebuilder.cpp
141 http/responsegenerator.cpp
146 net/downloadhandlerimpl.cpp
147 net/downloadmanager.cpp
148 net/geoipdatabase.cpp
150 net/portforwarder.cpp
151 net/proxyconfigurationmanager.cpp
152 net/reverseresolution.cpp
158 rss/feed_serializer.cpp
160 rss/rss_autodownloader.cpp
161 rss/rss_autodownloadrule.cpp
167 search/searchdownloadhandler.cpp
168 search/searchhandler.cpp
169 search/searchpluginmanager.cpp
173 torrentfileswatcher.cpp
177 utils/foreignapps.cpp
188 target_link_libraries(qbt_base
190 OpenSSL::Crypto OpenSSL::SSL
193 LibtorrentRasterbar::torrent-rasterbar
194 Qt::Core Qt::Network Qt::Sql Qt::Xml
198 if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
199 find_library(IOKit_LIBRARY IOKit)
200 find_library(Carbon_LIBRARY Carbon)
201 find_library(AppKit_LIBRARY AppKit)
203 target_link_libraries(qbt_base PRIVATE
208 elseif (CMAKE_SYSTEM_NAME STREQUAL "Windows")
209 target_link_libraries(qbt_base PRIVATE Iphlpapi)
213 target_compile_definitions(qbt_base PUBLIC DISABLE_GUI)
217 target_compile_definitions(qbt_base PUBLIC DISABLE_WEBUI)
221 target_link_libraries(qbt_base PUBLIC Qt::DBus)