summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/plugin/qplugin/CMakeLists.txt
blob: 2c901eff44cbacb662f42358b3a69e5f81b7873e (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
# Generated from qplugin.pro.

add_subdirectory(invalidplugin)

# special case begin
add_subdirectory(debugplugin)
add_subdirectory(releaseplugin)

# The contents below are generated from ./tst_qplugin.pro
# Collect test data
file(GLOB_RECURSE test_data_glob
    RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
    plugins/*)
list(APPEND test_data ${test_data_glob})

qt_internal_add_test(tst_qplugin
    SOURCES
        tst_qplugin.cpp
    LIBRARIES
        Qt::CorePrivate
    TESTDATA ${test_data}
)

target_compile_definitions(tst_qplugin PRIVATE CMAKE_BUILD=1)

add_dependencies(tst_qplugin invalidplugin debugplugin releaseplugin)
# special case end