aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmldesigner/wizard/CMakeLists.txt
blob: a2965b22f1befc10097da35969456c2670dfe298 (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
set(StudioWelcomeDir "${PROJECT_SOURCE_DIR}/src/plugins/studiowelcome")

set(WITH_TESTS ON)

find_package(Googletest MODULE)

add_qtc_test(tst_qml_wizard
  DEPENDS Core Utils StudioWelcome ProjectExplorer QmlDesigner Googletest
  DEFINES
    QT_CREATOR
    QMLDESIGNER_TEST
    IDE_PLUGIN_PATH="${PROJECT_BINARY_DIR}/${IDE_PLUGIN_PATH}"
    IDE_DATA_PATH="${PROJECT_BINARY_DIR}/${IDE_DATA_PATH}"
    TESTSRCDIR="${CMAKE_CURRENT_SOURCE_DIR}"
  INCLUDES "${PROJECT_SOURCE_DIR}/src/plugins"
           "${StudioWelcomeDir}"
  SOURCES
    wizardfactories-test.cpp
    stylemodel-test.cpp
    userpresets-test.cpp
    presetmodel-test.cpp
    test-utilities.h
    test-main.cpp
    "${StudioWelcomeDir}/wizardfactories.cpp"
    "${StudioWelcomeDir}/stylemodel.cpp"
    "${StudioWelcomeDir}/userpresets.cpp"
    "${StudioWelcomeDir}/presetmodel.cpp"
)