summaryrefslogtreecommitdiff
path: root/tests/auto/application/CMakeLists.txt
blob: 439d3fd466471d1bce5b45ac4a6f52a4b8421ea1 (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

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

qt_internal_add_resource(tst_application "application_testdata"
    PREFIX
        "/"
    FILES
        "info.yaml"
)

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