summaryrefslogtreecommitdiffstats
path: root/tests/auto/main/CMakeLists.txt
blob: 05e6d2cdcc9d33a6de294fd06e757a2af4a48a3a (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

qt_internal_add_test(tst_main
    SOURCES
        ../error-checking.h
        tst_main.cpp
    DEFINES
        AM_TESTDATA_DIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/../../data/\\\"
    PUBLIC_LIBRARIES
        Qt::Network
        Qt::AppManApplicationPrivate
        Qt::AppManCommonPrivate
        Qt::AppManIntentServerPrivate
        Qt::AppManMainPrivate
        Qt::AppManManagerPrivate
)

# Resources:
set(main_resource_files
    "dummy.qml"
)

qt_internal_add_resource(tst_main "main"
    PREFIX
        "/foo"
    FILES
        ${main_resource_files}
)


#### Keys ignored in scope 1:.:.:main.pro:<TRUE>:
# OTHER_FILES = "am-config.yaml"

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

qt_internal_extend_target(tst_main CONDITION TARGET Qt::DBus
    PUBLIC_LIBRARIES
        Qt::DBus
)