aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/layoutresources/CMakeLists.txt
blob: b7c1424788038e0764fcdcb7cd4615d6aa21dd20 (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
# Generated from layoutresources.pro.

#####################################################################
## tst_layoutresources Test:
#####################################################################

qt_add_test(tst_layoutresources
    SOURCES
        ../shared/layouttesthelper.cpp ../shared/layouttesthelper.h
        tst_layoutresources.cpp
    DEFINES
        SRC_DIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}\\\"
    INCLUDE_DIRECTORIES
        ../shared
    PUBLIC_LIBRARIES
        Qt::Gui
        Qt::Qml
        Qt::Quick
)

# Resources:
set(resourceslayout_resource_files
    "layouts/en_GB/main.qml"
)

qt_add_resource(tst_layoutresources "resourceslayout"
    PREFIX
        "/resource"
    BASE
        "data"
    FILES
        ${resourceslayout_resource_files}
)


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

qt_extend_target(tst_layoutresources CONDITION static
    PUBLIC_LIBRARIES
        Qt::Svg
)

#### Keys ignored in scope 3:.:.:layoutresources.pro:static:
# QTPLUGIN = "qtvirtualkeyboardplugin"