| 1 |
# Copyright (C) 2022 The Qt Company Ltd. |
| 2 |
# SPDX-License-Identifier: BSD-3-Clause |
| 3 |
|
| 4 |
# Generated from quick3dnodeinstantiator.pro. |
| 5 |
|
| 6 |
##################################################################### |
| 7 |
## tst_qnodeinstantiator Test: |
| 8 |
##################################################################### |
| 9 |
|
| 10 |
if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT) |
| 11 |
cmake_minimum_required(VERSION 3.16) |
| 12 |
project(tst_qnodeinstantiator LANGUAGES CXX) |
| 13 |
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST) |
| 14 |
endif() |
| 15 |
|
| 16 |
# Collect test data |
| 17 |
file(GLOB_RECURSE test_data_glob |
| 18 |
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} |
| 19 |
data/*) |
| 20 |
list(APPEND test_data ${test_data_glob}) |
| 21 |
|
| 22 |
qt_internal_add_test(tst_qnodeinstantiator |
| 23 |
SOURCES |
| 24 |
../../shared/util.cpp ../../shared/util.h |
| 25 |
stringmodel.h |
| 26 |
tst_quick3dnodeinstantiator.cpp |
| 27 |
DEFINES |
| 28 |
QT_QMLTEST_DATADIR="${CMAKE_CURRENT_SOURCE_DIR}/data" |
| 29 |
INCLUDE_DIRECTORIES |
| 30 |
../../shared |
| 31 |
LIBRARIES |
| 32 |
Qt::3DCore |
| 33 |
Qt::3DQuick |
| 34 |
Qt::3DQuickPrivate |
| 35 |
Qt::CorePrivate |
| 36 |
Qt::Gui |
| 37 |
Qt::GuiPrivate |
| 38 |
TESTDATA ${test_data} |
| 39 |
) |
| 40 |
|
| 41 |
#### Keys ignored in scope 1:.:.:quick3dnodeinstantiator.pro:<TRUE>: |
| 42 |
# OTHER_FILES = "data/createAndRemove.qml" "data/createMultiple.qml" "data/createNone.qml" "data/createSingle.qml" "data/createNested.qml" "data/inactive.qml" "data/stringModel.qml" |
| 43 |
|
| 44 |
## Scopes: |
| 45 |
##################################################################### |