summaryrefslogtreecommitdiffstats
path: root/tests/auto/render/opengl/renderviewutils/CMakeLists.txt
blob: 7f4db90cc5f67ab7709600ba7d9c1f0ab6c91787 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

# Generated from renderviewutils.pro.

#####################################################################
## tst_renderviewutils Test:
#####################################################################

qt_internal_add_test(tst_renderviewutils
    SOURCES
        tst_renderviewutils.cpp
)

#### Keys ignored in scope 1:.:.:renderviewutils.pro:<TRUE>:
# TEMPLATE = "app"

## Scopes:
#####################################################################

include(../../commons/commons.cmake)
qt3d_setup_common_render_test(tst_renderviewutils USE_TEST_ASPECT)
include(${PROJECT_SOURCE_DIR}/src/plugins/renderers/opengl/opengl.cmake)
qt3d_setup_opengl_renderer_target(tst_renderviewutils)

qt_internal_extend_target(tst_renderviewutils CONDITION gcov
    COMPILE_OPTIONS
        -fprofile-arcs
        -ftest-coverage
    LINK_OPTIONS
        "-fprofile-arcs"
        "-ftest-coverage"
)