| 1 |
# Copyright (C) 2022 The Qt Company Ltd. |
| 2 |
# SPDX-License-Identifier: BSD-3-Clause |
| 3 |
|
| 4 |
# Generated from rhi_graphicspipelinemanager.pro. |
| 5 |
|
| 6 |
##################################################################### |
| 7 |
## tst_rhi_graphicspipelinemanager 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_rhi_graphicspipelinemanager LANGUAGES CXX) |
| 13 |
find_package(Qt6BuildInternals REQUIRED COMPONENTS STANDALONE_TEST) |
| 14 |
endif() |
| 15 |
|
| 16 |
qt_internal_add_test(tst_rhi_graphicspipelinemanager |
| 17 |
SOURCES |
| 18 |
tst_rhi_graphicspipelinemanager.cpp |
| 19 |
) |
| 20 |
|
| 21 |
## Scopes: |
| 22 |
##################################################################### |
| 23 |
|
| 24 |
include(../../commons/commons.cmake) |
| 25 |
qt3d_setup_common_render_test(tst_rhi_graphicspipelinemanager USE_TEST_ASPECT) |
| 26 |
include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/rhi/rhi.cmake) |
| 27 |
qt3d_setup_rhi_renderer_target(tst_rhi_graphicspipelinemanager) |
| 28 |
|
| 29 |
qt_internal_extend_target(tst_rhi_graphicspipelinemanager CONDITION gcov |
| 30 |
COMPILE_OPTIONS |
| 31 |
-fprofile-arcs |
| 32 |
-ftest-coverage |
| 33 |
LINK_OPTIONS |
| 34 |
"-fprofile-arcs" |
| 35 |
"-ftest-coverage" |
| 36 |
) |