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

#####################################################################
## tst_signalspy Test:
#####################################################################

qt_add_test(tst_signalspy
    SOURCES
        ../../shared/util.cpp ../../shared/util.h
        mypropertymap.cpp mypropertymap.h
        tst_signalspy.cpp
    INCLUDE_DIRECTORIES
        ../../shared
    PUBLIC_LIBRARIES
        Qt::Gui
        Qt::Quick
)

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

qt_extend_target(tst_signalspy CONDITION ANDROID OR IOS
    DEFINES
        QT_QMLTEST_DATADIR=\\\":/data\\\"
)

qt_extend_target(tst_signalspy CONDITION NOT ANDROID AND NOT IOS
    DEFINES
        QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\"
)