summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qfileinfo/CMakeLists.txt
blob: 03f2e99e3749af7da0d795bf41f62fb2e7b2a6eb (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
# Generated from qfileinfo.pro.

#####################################################################
## tst_qfileinfo Test:
#####################################################################

add_qt_test(tst_qfileinfo
    SOURCES
        tst_qfileinfo.cpp
    LIBRARIES
        Qt::CorePrivate
)

# Resources:
set(qfileinfo_resource_files
    "resources/"
)

add_qt_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"
)

add_qt_resource(tst_qfileinfo "testdata"
    PREFIX
        "/testdata"
    FILES
        ${testdata_resource_files}
)


## Scopes:
#####################################################################

extend_target(tst_qfileinfo CONDITION WIN32 AND NOT WINRT
    PUBLIC_LIBRARIES
        advapi32
        netapi32
)