aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/pointer/CMakeLists.txt
blob: c11611ed7e805e30fb5c5b4a29e39caca5f8d668 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
# Generated from pointer.pro.

#####################################################################
## pointer Binary:
#####################################################################

qt_add_manual_test(pointer
    GUI
    SOURCES
        inputinspector.cpp inputinspector.h
        main.cpp
    PUBLIC_LIBRARIES
        Qt::Gui
        Qt::Qml
        Qt::Quick
        Qt::QuickPrivate
        Qt::Svg
)

# Resources:
set(qml_resource_files
    "content/CheckBox.qml"
    "content/FakeFlickable.qml"
    "content/FlashAnimation.qml"
    "content/MomentumAnimation.qml"
    "content/MouseAreaButton.qml"
    "content/MouseAreaSlider.qml"
    "content/MouseFeedbackSprite.qml"
    "content/MptaButton.qml"
    "content/MultiButton.qml"
    "content/ScrollBar.qml"
    "content/Slider.qml"
    "content/TapHandlerButton.qml"
    "content/TextBox.qml"
    "content/TouchpointFeedbackSprite.qml"
    "fakeFlickable.qml"
    "flickableWithHandlers.qml"
    "flingAnimation.qml"
    "joystick.qml"
    "main.qml"
    "map.qml"
    "map2.qml"
    "mixer.qml"
    "multibuttons.qml"
    "photosurface.qml"
    "pinchHandler.qml"
    "pointerDrag.qml"
    "resources/arrowhead.png"
    "resources/balloon.png"
    "resources/fighter.png"
    "resources/fingersprite.png"
    "resources/grabbing-location.svg"
    "resources/joystick-outer-case-pov.jpg"
    "resources/map.svgz"
    "resources/missile.png"
    "resources/mixer-knob.png"
    "resources/mouse.png"
    "resources/mouse_left.png"
    "resources/mouse_middle.png"
    "resources/mouse_right.png"
    "resources/redball.png"
    "sidebar.qml"
    "singlePointHandlerProperties.qml"
    "tapHandler.qml"
)

qt_add_resource(pointer "qml"
    PREFIX
        "/"
    FILES
        ${qml_resource_files}
)
set_source_files_properties("../../../examples/quick/shared/Button.qml"
    PROPERTIES QT_RESOURCE_ALIAS "Button.qml"
)
set_source_files_properties("../../../examples/quick/shared/CheckBox.qml"
    PROPERTIES QT_RESOURCE_ALIAS "CheckBox.qml"
)
set_source_files_properties("../../../examples/quick/shared/Label.qml"
    PROPERTIES QT_RESOURCE_ALIAS "Label.qml"
)
set_source_files_properties("../../../examples/quick/shared/LauncherList.qml"
    PROPERTIES QT_RESOURCE_ALIAS "LauncherList.qml"
)
set_source_files_properties("../../../examples/quick/shared/SimpleLauncherDelegate.qml"
    PROPERTIES QT_RESOURCE_ALIAS "SimpleLauncherDelegate.qml"
)
set_source_files_properties("../../../examples/quick/shared/Slider.qml"
    PROPERTIES QT_RESOURCE_ALIAS "Slider.qml"
)
set_source_files_properties("../../../examples/quick/shared/TextField.qml"
    PROPERTIES QT_RESOURCE_ALIAS "TextField.qml"
)
set_source_files_properties("../../../examples/quick/shared/images/back.png"
    PROPERTIES QT_RESOURCE_ALIAS "images/back.png"
)
set_source_files_properties("../../../examples/quick/shared/images/checkmark.png"
    PROPERTIES QT_RESOURCE_ALIAS "images/checkmark.png"
)
set_source_files_properties("../../../examples/quick/shared/images/next.png"
    PROPERTIES QT_RESOURCE_ALIAS "images/next.png"
)
set_source_files_properties("../../../examples/quick/shared/images/slider_handle.png"
    PROPERTIES QT_RESOURCE_ALIAS "images/slider_handle.png"
)
set(quick_shared_resource_files
    "Button.qml"
    "CheckBox.qml"
    "Label.qml"
    "LauncherList.qml"
    "SimpleLauncherDelegate.qml"
    "Slider.qml"
    "TextField.qml"
    "images/back.png"
    "images/checkmark.png"
    "images/next.png"
    "images/slider_handle.png"
)

qt_add_resource(pointer "quick_shared"
    PREFIX
        "/quick/shared"
    BASE
        "../../../examples/quick/shared"
    FILES
        ${quick_shared_resource_files}
)


#### Keys ignored in scope 1:.:.:pointer.pro:<TRUE>:
# TEMPLATE = "app"