diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-12-09 16:38:35 +0100 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2020-12-10 21:05:44 +0100 |
commit | dd1ebfcf8cb4d6104a54354e7d936f8915eb0832 (patch) | |
tree | b128fc820225c8129c63c10564f7c4678d319b6b /tests/auto/qml/qmlimportscanner/.prev_CMakeLists.txt | |
parent | 01f3bb703e22ef6722cb2d9a04a57fc9d7f2a2bc (diff) |
CMake: Regenerate projects using pro2cmake one last time
And fix up some incorrect qmake project files
Change-Id: Ia6d27ac68195635021fe7c4a5f06386a60f3f323
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit c1c4a874e31ba108a3600fbbb0aee7fc0bf34601)
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to 'tests/auto/qml/qmlimportscanner/.prev_CMakeLists.txt')
-rw-r--r-- | tests/auto/qml/qmlimportscanner/.prev_CMakeLists.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/auto/qml/qmlimportscanner/.prev_CMakeLists.txt b/tests/auto/qml/qmlimportscanner/.prev_CMakeLists.txt new file mode 100644 index 0000000000..66231beccb --- /dev/null +++ b/tests/auto/qml/qmlimportscanner/.prev_CMakeLists.txt @@ -0,0 +1,35 @@ +# Generated from qmlimportscanner.pro. + +##################################################################### +## tst_qmlimportscanner Test: +##################################################################### + +# Collect test data +file(GLOB_RECURSE test_data_glob + RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} + data/*) +list(APPEND test_data ${test_data_glob}) + +qt_internal_add_test(tst_qmlimportscanner + SOURCES + ../../shared/util.cpp ../../shared/util.h + tst_qmlimportscanner.cpp + INCLUDE_DIRECTORIES + ../../shared + PUBLIC_LIBRARIES + Qt::Gui + TESTDATA ${test_data} +) + +## Scopes: +##################################################################### + +qt_internal_extend_target(tst_qmlimportscanner CONDITION ANDROID OR IOS + DEFINES + QT_QMLTEST_DATADIR=\\\":/data\\\" +) + +qt_internal_extend_target(tst_qmlimportscanner CONDITION NOT ANDROID AND NOT IOS + DEFINES + QT_QMLTEST_DATADIR=\\\"${CMAKE_CURRENT_SOURCE_DIR}/data\\\" +) |