summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/kernel/qapplication/test/CMakeLists.txt
blob: 171ee1b2738dd3471f60df1b02ef533a7f9d72e9 (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
# Generated from test.pro.

#####################################################################
## test Test:
#####################################################################

# Collect test data
list(APPEND test_data "../test/test.pro")
list(APPEND test_data "../tmp/README")
list(APPEND test_data "../modal")

add_qt_test(tst_qapplication # special case
    SOURCES
        ../tst_qapplication.cpp
    PUBLIC_LIBRARIES
        Qt::CorePrivate
        Qt::Gui
        Qt::GuiPrivate
        Qt::Widgets
        Qt::WidgetsPrivate
    TESTDATA ${test_data}
    OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/.." # special case
)

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

extend_target(tst_qapplication CONDITION builtin_testdata # special case
    DEFINES
        BUILTIN_TESTDATA
)

#### Keys ignored in scope 3:.:.:test.pro:NOT ANDROID AND NOT WINRT:
# SUBPROGRAMS = "desktopsettingsaware" "modal"

#### Keys ignored in scope 6:.:.:test.pro:NOT ANDROID AND NOT WINRT:
# TEST_HELPER_INSTALLS = "../debug/helper"

#### Keys ignored in scope 8:.:.:test.pro:NOT ANDROID AND NOT WINRT:
# TEST_HELPER_INSTALLS = "../release/helper"

#### Keys ignored in scope 10:.:.:test.pro:NOT ANDROID AND NOT WINRT:
# TEST_HELPER_INSTALLS = "../helper"