blob: d3760e8165d77b12e1123c1397639d633916b189 (
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
|
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
# Generated from qsoundeffect.pro.
#####################################################################
## tst_qsoundeffect Test:
#####################################################################
# Collect test data
list(APPEND test_data "test.wav")
qt_internal_add_test(tst_qsoundeffect
SOURCES
tst_qsoundeffect.cpp
LIBRARIES
Qt::Gui
Qt::MultimediaPrivate
TESTDATA ${test_data}
)
# Resources:
set(resources_resource_files
"test.wav"
"test_corrupted.wav"
"test_tone.wav"
)
qt_internal_add_resource(tst_qsoundeffect "resources"
PREFIX
"/"
FILES
${resources_resource_files}
)
## Scopes:
#####################################################################
qt_internal_extend_target(tst_qsoundeffect CONDITION UNIX AND NOT APPLE AND NOT QT_FEATURE_pulseaudio
DEFINES
QT_MULTIMEDIA_QMEDIAPLAYER
)
|