summaryrefslogtreecommitdiffstats
path: root/tests/auto/integration/qvideoframebackend/CMakeLists.txt
blob: 8c129fa97ba1657c1442251b54944d26c1b4557d (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
# Copyright (C) 2024 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

#####################################################################
## tst_qvideoframebackend Test:
#####################################################################

# Collect test data
file(GLOB_RECURSE test_data_glob
    RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
    testdata/*)
list(APPEND testdata_resource_files ${test_data_glob})

qt_internal_add_test(tst_qvideoframebackend
    SOURCES
        ../shared/mediafileselector.h
        ../shared/testvideosink.h
        tst_qvideoframebackend.cpp
    LIBRARIES
        Qt::Gui
        Qt::MultimediaPrivate
    TESTDATA ${testdata_resource_files}
    INCLUDE_DIRECTORIES
        ../shared/
)

qt_internal_add_resource(tst_qvideoframebackend "testdata"
    PREFIX
        "/"
    FILES
        ${testdata_resource_files}
)