summaryrefslogtreecommitdiff
path: root/tests/auto/qml/CMakeLists.txt
blob: e49bd8c3aa9f55aeb73f4d15164789b1d9ca90e7 (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
# Generated from qml.pro.

#####################################################################
## qml Test:
#####################################################################

# Collect test data

file(GLOB_RECURSE test_data_glob
    RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
    "data/*")
list(APPEND test_data ${test_data_glob})

add_qt_test(qml
    GUI
    QMLTEST
    QML_IMPORTPATH
        "${CMAKE_CURRENT_BINARY_DIR}/../../../qml"
        "${CMAKE_CURRENT_SOURCE_DIR}"
    SOURCES
        qml.cpp
        testobject.cpp testobject.h
        testtransport.cpp testtransport.h
        testwebchannel.cpp testwebchannel.h
    LIBRARIES
        Qt::CorePrivate
        Qt::WebChannelPrivate
    PUBLIC_LIBRARIES
        Qt::Gui
        Qt::WebChannel
    TESTDATA ${test_data}
)

#### Keys ignored in scope 1:.:.:qml.pro:<TRUE>:
# DISTFILES = "tst_webchannelseparation.qml"
# IMPORTPATH = "$$OUT_PWD/../../../qml" "$$PWD"
# OTHER_FILES = "Client.qml" "WebChannelTest.qml" "tst_webchannel.qml" "tst_metaobjectpublisher.qml" "tst_bench.qml" "tst_multiclient.qml"
# TEMPLATE = "app"