summaryrefslogtreecommitdiffstats
path: root/tests/auto/application/CMakeLists.txt
blob: 942bc0c35f4364213576512e3b7bc0422288ef8e (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

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

# Resources:
set(tst_application_resource_files
    "info.yaml"
)

qt_internal_add_resource(tst_application "tst_application"
    PREFIX
        "/"
    FILES
        ${tst_application_resource_files}
)

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