summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/kernel/qtranslator/CMakeLists.txt
blob: e3e69537bfef99dcf4a0cdc9afff32f4f153c7d6 (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
# Generated from qtranslator.pro.

#####################################################################
## tst_qtranslator Test:
#####################################################################

qt_internal_add_test(tst_qtranslator
    SOURCES
        tst_qtranslator.cpp
)

# Resources:
set(qtranslator_resource_files
    "dependencies_la.qm"
    "hellotr_empty.qm"
    "hellotr_la.qm"
    "msgfmt_from_po.qm"
)

qt_internal_add_resource(tst_qtranslator "qtranslator"
    PREFIX
        "/tst_qtranslator"
    FILES
        ${qtranslator_resource_files}
)


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

if(ANDROID)
    # Resources:
    set(android_testdata_resource_files
        "dependencies_la.qm"
        "hellotr_empty.qm"
        "hellotr_la.qm"
        "msgfmt_from_po.qm"
    )

    qt_internal_add_resource(tst_qtranslator "android_testdata"
        PREFIX
            "/android_testdata"
        FILES
            ${android_testdata_resource_files}
    )
endif()

#### Keys ignored in scope 3:.:.:qtranslator.pro:else:
# TESTDATA = "dependencies_la.qm" "hellotr_empty.qm" "hellotr_la.qm" "msgfmt_from_po.qm"