summaryrefslogtreecommitdiffstats
path: root/examples/widgets/graphicsview/chip/CMakeLists.txt
blob: 566a8aae02cd820c2c24b7ed2eb57e885f6d6577 (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
43
44
# Generated from chip.pro.

#####################################################################
## chip Binary:
#####################################################################

add_qt_executable(chip
    GUI
    OUTPUT_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/chip"
    INSTALL_DIRECTORY "${INSTALL_EXAMPLESDIR}/widgets/graphicsview/chip"
    SOURCES
        chip.cpp chip.h
        main.cpp
        mainwindow.cpp mainwindow.h
        view.cpp view.h
    LIBRARIES
        Qt::Widgets
)

# Resources:
add_qt_resource(chip "images" FILES
    fileprint.png
    qt4logo.png
    rotateleft.png
    rotateright.png
    zoomin.png
    zoomout.png)


## Scopes:
#####################################################################

extend_target(chip CONDITION TARGET Qt::PrintSupport
    LIBRARIES
        Qt::PrintSupport
)

extend_target(chip CONDITION TARGET Qt::OpenGL
    LIBRARIES
        Qt::OpenGL
)

#### Keys ignored in scope 4:.:chip.pro:build_all AND NOT build_pass:
# CONFIG = "-build_all" "release"