~george-edison55/twistload/trunk

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
configure_file(config.h.in "${CMAKE_CURRENT_BINARY_DIR}/config.h")

set(SRC
    download/download.cpp
    download/fragment.cpp
    fs/allocationtask.cpp
    fs/file.cpp
    ui/mainwindow.cpp
    main.cpp
)

add_executable(twistload ${SRC})

set_target_properties(twistload PROPERTIES
    CXX_STANDARD          11
    CXX_STANDARD_REQUIRED ON
)

target_include_directories(twistload PUBLIC
    "${CMAKE_CURRENT_BINARY_DIR}"
)

target_link_libraries(twistload Qt5::Network Qt5::Widgets)

install(TARGETS twistload
    DESTINATION bin
)