qt5base-lts/examples/network/torrent/CMakeLists.txt
Alexandru Croitor 837f592c5e Regenerate more projects that are using uic
Amends fa21d29b75

Change-Id: I54d9cca77122d61016e06c4057949747b19472bb
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2019-05-23 08:59:35 +00:00

45 lines
1.3 KiB
CMake

# Generated from torrent.pro.
#####################################################################
## torrent Binary:
#####################################################################
add_qt_executable(torrent
GUI
OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/torrent"
INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/network/torrent"
SOURCES
addtorrentdialog.cpp addtorrentdialog.h
bencodeparser.cpp bencodeparser.h
connectionmanager.cpp connectionmanager.h
filemanager.cpp filemanager.h
forms/addtorrentform.ui
main.cpp
mainwindow.cpp mainwindow.h
metainfo.cpp metainfo.h
peerwireclient.cpp peerwireclient.h
ratecontroller.cpp ratecontroller.h
torrentclient.cpp torrentclient.h
torrentserver.cpp torrentserver.h
trackerclient.cpp trackerclient.h
INCLUDE_DIRECTORIES # special case
forms # special case
PUBLIC_LIBRARIES
Qt::Network
Qt::Widgets
ENABLE_AUTOGEN_TOOLS
uic
)
# Resources:
add_qt_resource(torrent "icons" PREFIX "/" FILES
icons/1downarrow.png
icons/1uparrow.png
icons/bottom.png
icons/exit.png
icons/peertopeer.png
icons/player_pause.png
icons/player_play.png
icons/player_stop.png)