summaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qml_quick/CMakeLists.txt
blob: 1d61124aa798757165bd1941aef4a2dc1b94455f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

# Collect test data
file(GLOB_RECURSE test_data_glob
    RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
    ${CMAKE_CURRENT_SOURCE_DIR}/tst_*qml)
list(APPEND test_data ${test_data_glob})

qt_internal_add_test(tst_sensors_qmlquick
    QMLTEST
    SOURCES
        ../../common/test_backends.cpp ../../common/test_backends.h
        tst_sensors_qmlquick.cpp
    LIBRARIES
        Qt::Quick
        Qt::Sensors
        Qt::SensorsQuickPrivate
    TESTDATA ${test_data}
)