diff options
Diffstat (limited to 'tests/auto/quick/qquickpath/CMakeLists.txt')
-rw-r--r-- | tests/auto/quick/qquickpath/CMakeLists.txt | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickpath/CMakeLists.txt b/tests/auto/quick/qquickpath/CMakeLists.txt new file mode 100644 index 0000000000..fa41ef74e1 --- /dev/null +++ b/tests/auto/quick/qquickpath/CMakeLists.txt @@ -0,0 +1,42 @@ +# Generated from qquickpath.pro. + +##################################################################### +## tst_qquickpath Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + data/*) +list(APPEND test_data ${test_data_glob}) + +qt_add_test(tst_qquickpath + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickpath.cpp + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::CorePrivate + Qt::Gui + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + TESTDATA ${test_data} +) + +#### Keys ignored in scope 1:.:.:qquickpath.pro:<TRUE>: +# DISTFILES = "data/*" + +## Scopes: +##################################################################### + +qt_extend_target(tst_qquickpath CONDITION ANDROID OR IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +qt_extend_target(tst_qquickpath CONDITION NOT ANDROID AND NOT IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) |