summaryrefslogtreecommitdiffstats
path: root/examples/network/torrent/.prev_CMakeLists.txt
blob: 5d23f5e74b084e36e2e731cf72b4bf18b5d183e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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)