diff options
Diffstat (limited to 'examples/network/torrent')
-rw-r--r-- | examples/network/torrent/.prev_CMakeLists.txt | 42 | ||||
-rw-r--r-- | examples/network/torrent/CMakeLists.txt | 6 |
2 files changed, 46 insertions, 2 deletions
diff --git a/examples/network/torrent/.prev_CMakeLists.txt b/examples/network/torrent/.prev_CMakeLists.txt new file mode 100644 index 0000000000..5d23f5e74b --- /dev/null +++ b/examples/network/torrent/.prev_CMakeLists.txt @@ -0,0 +1,42 @@ +# 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 + 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) + diff --git a/examples/network/torrent/CMakeLists.txt b/examples/network/torrent/CMakeLists.txt index f8cbc071ff..448335e7aa 100644 --- a/examples/network/torrent/CMakeLists.txt +++ b/examples/network/torrent/CMakeLists.txt @@ -22,11 +22,13 @@ add_qt_executable(torrent torrentclient.cpp torrentclient.h torrentserver.cpp torrentserver.h trackerclient.cpp trackerclient.h - INCLUDE_DIRECTORIES + INCLUDE_DIRECTORIES # special case forms # special case - LIBRARIES + PUBLIC_LIBRARIES Qt::Network Qt::Widgets + ENABLE_AUTOGEN_TOOLS + uic ) # Resources: |