From 6c69a6ab7c61d03150ed2e58725c3a61a443fdc0 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Fri, 24 May 2019 15:35:20 +0200 Subject: Initial CMake port Crude port of QtQml, QtQmlModels, QtQuick and a few tests and a few examples. Task-number: QTBUG-74136 Change-Id: I5de4d8215b33d1a4a72c2c0e7951e4b384f27e3e Reviewed-by: Simon Hausmann --- tests/auto/qml/qqmlfileselector/CMakeLists.txt | 40 ++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 tests/auto/qml/qqmlfileselector/CMakeLists.txt (limited to 'tests/auto/qml/qqmlfileselector/CMakeLists.txt') diff --git a/tests/auto/qml/qqmlfileselector/CMakeLists.txt b/tests/auto/qml/qqmlfileselector/CMakeLists.txt new file mode 100644 index 0000000000..6e23531fa3 --- /dev/null +++ b/tests/auto/qml/qqmlfileselector/CMakeLists.txt @@ -0,0 +1,40 @@ +# Generated from qqmlfileselector.pro. + +##################################################################### +## tst_qqmlfileselector Test: +##################################################################### + +add_qt_test(tst_qqmlfileselector + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qqmlfileselector.cpp + INCLUDE_DIRECTORIES + ../../shared + LIBRARIES + Qt::CorePrivate + Qt::GuiPrivate + Qt::QmlPrivate + PUBLIC_LIBRARIES + Qt::Gui + Qt::Qml +) + +#### Keys ignored in scope 1:.:.:qqmlfileselector.pro:: +# CONFIG = "testcase" +# TESTDATA = "data/*" + +## Scopes: +##################################################################### + +#### Keys ignored in scope 2:.:.:qqmlfileselector.pro:APPLE_OSX: +# CONFIG = "-app_bundle" + +extend_target(tst_qqmlfileselector CONDITION ANDROID OR APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +extend_target(tst_qqmlfileselector CONDITION NOT ANDROID AND NOT APPLE_IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"/data\\\" +) -- cgit v1.2.3