Debian Codegraph @

tests/auto/render/opengl/textures/CMakeLists.txt

raw
1 # Copyright (C) 2022 The Qt Company Ltd.
2 # SPDX-License-Identifier: BSD-3-Clause
3
4 # Generated from textures.pro.
5
6 #####################################################################
7 ## tst_textures Test:
8 #####################################################################
9
10 qt_internal_add_test(tst_textures
11 SOURCES
12 tst_textures.cpp
13 )
14
15 #### Keys ignored in scope 1:.:.:textures.pro:<TRUE>:
16 # TEMPLATE = "app"
17
18 ## Scopes:
19 #####################################################################
20
21 include(../../commons/commons.cmake)
22 qt3d_setup_common_render_test(tst_textures USE_TEST_ASPECT)
23 include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake)
24 qt3d_setup_opengl_renderer_target(tst_textures)
25
26 qt_internal_extend_target(tst_textures CONDITION gcov
27 COMPILE_OPTIONS
28 -fprofile-arcs
29 -ftest-coverage
30 LINK_OPTIONS
31 "-fprofile-arcs"
32 "-ftest-coverage"
33 )