blob: 6dfec3e9465636b89646d924b0cd805ce7554937 (
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
|
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
# Generated from qfileinfo.pro.
#####################################################################
## tst_qfileinfo Test:
#####################################################################
qt_internal_add_test(tst_qfileinfo
SOURCES
tst_qfileinfo.cpp
LIBRARIES
Qt::CorePrivate
)
# Resources:
set(qfileinfo_resource_files
"resources/"
)
qt_internal_add_resource(tst_qfileinfo "qfileinfo"
PREFIX
"/tst_qfileinfo/"
FILES
${qfileinfo_resource_files}
)
set(testdata_resource_files
"resources/file1"
"resources/file1.ext1"
"resources/file1.ext1.ext2"
"tst_qfileinfo.cpp"
)
qt_internal_add_resource(tst_qfileinfo "testdata"
PREFIX
"/testdata"
FILES
${testdata_resource_files}
)
## Scopes:
#####################################################################
qt_internal_extend_target(tst_qfileinfo CONDITION WIN32
LIBRARIES
advapi32
netapi32
)
if (APPLE)
target_compile_options(tst_qfileinfo PRIVATE -x objective-c++)
endif()
|