diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-03-12 15:27:58 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-03-12 15:28:15 +0100 |
commit | 8592ae4096f3f9c2b08b87ad2fcbbbfadf75f2d7 (patch) | |
tree | a757c1d80ec77952eae2cc4de5d89c01f14760fc /tests/auto/quick/qquickflipable/CMakeLists.txt | |
parent | e7decc7637e9eb7e66a0d19705090f18488028c0 (diff) | |
parent | 14492ecee2e34843efd3ef070503a43a48552055 (diff) |
Merge remote-tracking branch 'origin/wip/cmake' into dev
Conflicts:
dependencies.yaml
Change-Id: Ifff48b9d0e7962d481e63c49399e2d304e1011e5
Diffstat (limited to 'tests/auto/quick/qquickflipable/CMakeLists.txt')
-rw-r--r-- | tests/auto/quick/qquickflipable/CMakeLists.txt | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickflipable/CMakeLists.txt b/tests/auto/quick/qquickflipable/CMakeLists.txt new file mode 100644 index 0000000000..e037cb2870 --- /dev/null +++ b/tests/auto/quick/qquickflipable/CMakeLists.txt @@ -0,0 +1,39 @@ +# Generated from qquickflipable.pro. + +##################################################################### +## tst_qquickflipable 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_qquickflipable + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qquickflipable.cpp + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::CorePrivate + Qt::Gui + Qt::GuiPrivate + Qt::QmlPrivate + Qt::QuickPrivate + TESTDATA ${test_data} +) + +## Scopes: +##################################################################### + +qt_extend_target(tst_qquickflipable CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +qt_extend_target(tst_qquickflipable CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) |