1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00
qBittorrent/src/gui/CMakeLists.txt

177 lines
3.9 KiB
CMake
Raw Normal View History

2015-11-06 18:03:18 +00:00
set(CMAKE_AUTORCC True)
set(CMAKE_AUTOUIC True)
add_library(qbt_gui_headers INTERFACE)
target_include_directories(qbt_gui_headers INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
2015-11-06 18:03:18 +00:00
add_subdirectory(properties)
add_subdirectory(powermanagement)
add_subdirectory(rss)
add_subdirectory(search)
add_library(qbt_gui STATIC
# headers
aboutdialog.h
2015-11-06 18:03:18 +00:00
addnewtorrentdialog.h
advancedsettings.h
autoexpandabledialog.h
banlistoptionsdialog.h
2017-01-20 23:32:00 +00:00
categoryfiltermodel.h
categoryfilterproxymodel.h
2017-01-20 23:32:00 +00:00
categoryfilterwidget.h
2016-04-12 00:07:10 +00:00
cookiesdialog.h
cookiesmodel.h
deletionconfirmationdialog.h
downloadfromurldialog.h
executionlogwidget.h
fspathedit.h
2015-11-06 18:03:18 +00:00
hidabletabwidget.h
ipsubnetwhitelistoptionsdialog.h
2019-07-13 06:05:35 +00:00
lineedit.h
log/logfiltermodel.h
log/loglistview.h
log/logmodel.h
2015-11-06 18:03:18 +00:00
mainwindow.h
optionsdialog.h
2015-11-06 18:03:18 +00:00
previewlistdelegate.h
previewselectdialog.h
2019-07-24 15:01:26 +00:00
private/fspathedit_p.h
private/tristatewidget.h
raisedmessagebox.h
2015-11-06 18:03:18 +00:00
scanfoldersdelegate.h
shutdownconfirmdialog.h
speedlimitdialog.h
2015-11-06 18:03:18 +00:00
statsdialog.h
statusbar.h
tagfiltermodel.h
tagfilterproxymodel.h
tagfilterwidget.h
2017-09-24 11:54:42 +00:00
torrentcategorydialog.h
2015-11-06 18:03:18 +00:00
torrentcontentfiltermodel.h
torrentcontentmodel.h
torrentcontentmodelfile.h
torrentcontentmodelfolder.h
torrentcontentmodelitem.h
torrentcontenttreeview.h
torrentcreatordialog.h
2019-06-24 15:37:31 +00:00
trackerentriesdialog.h
2015-11-06 18:03:18 +00:00
transferlistdelegate.h
transferlistfilterswidget.h
transferlistmodel.h
2015-11-06 18:03:18 +00:00
transferlistsortmodel.h
transferlistwidget.h
tristateaction.h
2019-07-09 14:26:55 +00:00
uithememanager.h
updownratiodialog.h
utils.h
# sources
2019-07-17 13:57:52 +00:00
aboutdialog.cpp
2015-11-06 18:03:18 +00:00
addnewtorrentdialog.cpp
advancedsettings.cpp
autoexpandabledialog.cpp
banlistoptionsdialog.cpp
2017-01-20 23:32:00 +00:00
categoryfiltermodel.cpp
categoryfilterproxymodel.cpp
2017-01-20 23:32:00 +00:00
categoryfilterwidget.cpp
2016-04-12 00:07:10 +00:00
cookiesdialog.cpp
cookiesmodel.cpp
deletionconfirmationdialog.cpp
downloadfromurldialog.cpp
executionlogwidget.cpp
fspathedit.cpp
2019-07-17 13:57:52 +00:00
hidabletabwidget.cpp
ipsubnetwhitelistoptionsdialog.cpp
2019-07-13 06:05:35 +00:00
lineedit.cpp
log/logfiltermodel.cpp
log/loglistview.cpp
log/logmodel.cpp
2015-11-06 18:03:18 +00:00
mainwindow.cpp
optionsdialog.cpp
2019-07-17 13:57:52 +00:00
previewlistdelegate.cpp
previewselectdialog.cpp
2019-07-24 15:01:26 +00:00
private/fspathedit_p.cpp
private/tristatewidget.cpp
raisedmessagebox.cpp
2015-11-06 18:03:18 +00:00
scanfoldersdelegate.cpp
shutdownconfirmdialog.cpp
speedlimitdialog.cpp
2015-11-06 18:03:18 +00:00
statsdialog.cpp
statusbar.cpp
tagfiltermodel.cpp
tagfilterproxymodel.cpp
tagfilterwidget.cpp
2017-09-24 11:54:42 +00:00
torrentcategorydialog.cpp
2015-11-06 18:03:18 +00:00
torrentcontentfiltermodel.cpp
torrentcontentmodel.cpp
torrentcontentmodelfile.cpp
torrentcontentmodelfolder.cpp
torrentcontentmodelitem.cpp
torrentcontenttreeview.cpp
torrentcreatordialog.cpp
2019-06-24 15:37:31 +00:00
trackerentriesdialog.cpp
2015-11-06 18:03:18 +00:00
transferlistdelegate.cpp
transferlistfilterswidget.cpp
transferlistmodel.cpp
2015-11-06 18:03:18 +00:00
transferlistsortmodel.cpp
transferlistwidget.cpp
tristateaction.cpp
2019-07-09 14:26:55 +00:00
uithememanager.cpp
updownratiodialog.cpp
utils.cpp
# forms
aboutdialog.ui
addnewtorrentdialog.ui
autoexpandabledialog.ui
banlistoptionsdialog.ui
2016-04-12 00:07:10 +00:00
cookiesdialog.ui
deletionconfirmationdialog.ui
downloadfromurldialog.ui
executionlogwidget.ui
ipsubnetwhitelistoptionsdialog.ui
mainwindow.ui
optionsdialog.ui
previewselectdialog.ui
shutdownconfirmdialog.ui
speedlimitdialog.ui
2015-11-06 18:03:18 +00:00
statsdialog.ui
2017-09-24 11:54:42 +00:00
torrentcategorydialog.ui
torrentcreatordialog.ui
2019-06-24 15:37:31 +00:00
trackerentriesdialog.ui
updownratiodialog.ui
2015-11-06 18:03:18 +00:00
)
target_link_libraries(qbt_gui
PRIVATE
2019-07-13 06:05:35 +00:00
qbt_powermanagement qbt_rss qbt_properties qbt_searchengine
qbt_base
)
2015-11-06 18:03:18 +00:00
target_include_directories(qbt_gui
PRIVATE ../app
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
)
if (UNIX AND Qt5DBus_FOUND)
add_subdirectory(qtnotify)
target_link_libraries(qbt_gui PRIVATE qbt_qtnotify)
endif (UNIX AND Qt5DBus_FOUND)
2017-06-12 19:47:28 +00:00
if (APPLE)
target_sources(qbt_gui PRIVATE macutilities.h macutilities.mm)
find_package(Qt5 ${requiredQtVersion} REQUIRED COMPONENTS MacExtras)
target_link_libraries(qbt_gui PRIVATE Qt5::MacExtras objc)
endif (APPLE)
if (WIN32 OR APPLE)
target_sources(qbt_gui PRIVATE programupdater.h programupdater.cpp)
endif (WIN32 OR APPLE)
qbt_target_sources(qBittorrent PRIVATE about.qrc)
if(WIN32)
find_package(Qt5 ${requiredQtVersion} REQUIRED COMPONENTS WinExtras)
target_link_libraries(qbt_gui PRIVATE Qt5::WinExtras)
endif(WIN32)