mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 05:08:05 -06:00
1. Use FeatureSummary module to show configuration results. 2. Invert option()/find_package() relationship: instead of calling find_package(... REQUIRED) when option is set, rely on optional find package call and PackageName_FOUND variable. 3. Refactor handling options that result in simple preprocessor defines (actually copy the snippet from libtorrent) so that everything is done in a single function call. 4. Populate target properties in order to get rid of include_directories() calls.
33 lines
691 B
CMake
33 lines
691 B
CMake
add_library(qbt_webui STATIC
|
|
api/apicontroller.h
|
|
api/apierror.h
|
|
api/appcontroller.h
|
|
api/isessionmanager.h
|
|
api/authcontroller.h
|
|
api/logcontroller.h
|
|
api/rsscontroller.h
|
|
api/synccontroller.h
|
|
api/torrentscontroller.h
|
|
api/transfercontroller.h
|
|
api/serialize/serialize_torrent.h
|
|
extra_translations.h
|
|
webapplication.h
|
|
webui.h
|
|
api/apicontroller.cpp
|
|
api/apierror.cpp
|
|
api/appcontroller.cpp
|
|
api/authcontroller.cpp
|
|
api/logcontroller.cpp
|
|
api/rsscontroller.cpp
|
|
api/synccontroller.cpp
|
|
api/torrentscontroller.cpp
|
|
api/transfercontroller.cpp
|
|
api/serialize/serialize_torrent.cpp
|
|
webapplication.cpp
|
|
webui.cpp
|
|
)
|
|
|
|
qbt_target_sources(qBittorrent PRIVATE webui.qrc)
|
|
|
|
target_link_libraries(qbt_webui PUBLIC qbt_base)
|