summaryrefslogtreecommitdiffstats
path: root/tests/auto/icns/CMakeLists.txt
blob: 0ab146b8620d74adc73c610ad719f17356b26da5 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# Generated from icns.pro.

#####################################################################
## tst_qicns Test:
#####################################################################

add_qt_test(tst_qicns
    SOURCES
        tst_qicns.cpp
    PUBLIC_LIBRARIES
        Qt::Gui
)

# Resources:
set_source_files_properties("../../shared/images/icns/test-32bit.icns"
    PROPERTIES QT_RESOURCE_ALIAS "icns/test-32bit.icns"
)
set_source_files_properties("../../shared/images/icns/test-jp2.icns"
    PROPERTIES QT_RESOURCE_ALIAS "icns/test-jp2.icns"
)
set_source_files_properties("../../shared/images/icns/test-legacy.icns"
    PROPERTIES QT_RESOURCE_ALIAS "icns/test-legacy.icns"
)
set_source_files_properties("../../shared/images/icns/test-png.icns"
    PROPERTIES QT_RESOURCE_ALIAS "icns/test-png.icns"
)
set_source_files_properties("../../shared/images/icns/test-variants.icns"
    PROPERTIES QT_RESOURCE_ALIAS "icns/test-variants.icns"
)
set_source_files_properties("../../shared/images/icns/test-write-1024.png"
    PROPERTIES QT_RESOURCE_ALIAS "icns/test-write-1024.png"
)
set_source_files_properties("../../shared/images/icns/test-write-128.png"
    PROPERTIES QT_RESOURCE_ALIAS "icns/test-write-128.png"
)
set_source_files_properties("../../shared/images/icns/test-write-16.png"
    PROPERTIES QT_RESOURCE_ALIAS "icns/test-write-16.png"
)
set_source_files_properties("../../shared/images/icns/test-write-256.png"
    PROPERTIES QT_RESOURCE_ALIAS "icns/test-write-256.png"
)
set_source_files_properties("../../shared/images/icns/test-write-32.png"
    PROPERTIES QT_RESOURCE_ALIAS "icns/test-write-32.png"
)
set_source_files_properties("../../shared/images/icns/test-write-512.png"
    PROPERTIES QT_RESOURCE_ALIAS "icns/test-write-512.png"
)
set_source_files_properties("../../shared/images/icns/test-write-64.png"
    PROPERTIES QT_RESOURCE_ALIAS "icns/test-write-64.png"
)
set(icns_resource_files
    "icns/test-32bit.icns"
    "icns/test-jp2.icns"
    "icns/test-legacy.icns"
    "icns/test-png.icns"
    "icns/test-variants.icns"
    "icns/test-write-1024.png"
    "icns/test-write-128.png"
    "icns/test-write-16.png"
    "icns/test-write-256.png"
    "icns/test-write-32.png"
    "icns/test-write-512.png"
    "icns/test-write-64.png"
)

add_qt_resource(tst_qicns "icns"
    PREFIX
        "/"
    BASE
        "../../shared/images"
    FILES
        ${icns_resource_files}
)