Debian Codegraph @

tests/auto/render/raycastingjob/CMakeLists.txt

raw
1 # Copyright (C) 2022 The Qt Company Ltd.
2 # SPDX-License-Identifier: BSD-3-Clause
3
4 # Generated from raycastingjob.pro.
5
6 #####################################################################
7 ## tst_raycastingjob 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_raycastingjob LANGUAGES CXX)
13 find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST)
14 endif()
15
16 qt_internal_add_test(tst_raycastingjob
17 SOURCES
18 ../qmlscenereader/qmlscenereader.cpp ../qmlscenereader/qmlscenereader.h
19 tst_raycastingjob.cpp
20 INCLUDE_DIRECTORIES
21 ../qmlscenereader
22 LIBRARIES
23 Qt::3DCore
24 Qt::3DCorePrivate
25 Qt::3DExtras
26 Qt::3DQuick
27 Qt::3DQuickPrivate
28 Qt::3DQuickExtras
29 Qt::3DRender
30 Qt::3DRenderPrivate
31 Qt::CorePrivate
32 Qt::Gui
33 Qt::Qml
34 Qt::Quick
35 )
36
37 # Resources:
38 set(raycastingjob_resource_files
39 "testscene_screenraycasting.qml"
40 "testscene_worldraycasting.qml"
41 "testscene_worldraycastingalllayers.qml"
42 "testscene_worldraycastinglayer.qml"
43 "testscene_worldraycastingparentlayer.qml"
44 )
45
46 qt_internal_add_resource(tst_raycastingjob "raycastingjob"
47 PREFIX
48 "/"
49 FILES
50 ${raycastingjob_resource_files}
51 )
52
53
54 #### Keys ignored in scope 1:.:.:raycastingjob.pro:<TRUE>:
55 # TEMPLATE = "app"
56
57 ## Scopes:
58 #####################################################################
59
60 include(../commons/commons.cmake)
61 qt3d_setup_common_render_test(tst_raycastingjob)