qt5base-lts/tests/benchmarks/widgets/graphicsview/qgraphicsview/CMakeLists.txt
Lucie Gérard 32df595275 Change the license of all CMakeLists.txt and *.cmake files to BSD
Task-number: QTBUG-105718
Change-Id: I5d3ef70a31235868b9be6cb479b7621bf2a8ba39
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
2022-08-23 23:58:42 +02:00

59 lines
1.3 KiB
CMake

# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
# Generated from qgraphicsview.pro.
#####################################################################
## tst_bench_qgraphicsview Binary:
#####################################################################
qt_internal_add_benchmark(tst_bench_qgraphicsview
SOURCES
chiptester/chip.cpp chiptester/chip.h
chiptester/chiptester.cpp chiptester/chiptester.h
tst_qgraphicsview.cpp
LIBRARIES
Qt::Gui
Qt::Test
Qt::Widgets
)
# Resources:
set(qgraphicsview_resource_files
"images/designer.png"
"images/wine-big.jpeg"
"images/wine.jpeg"
"random.data"
)
qt_internal_add_resource(tst_bench_qgraphicsview "qgraphicsview"
PREFIX
"/"
FILES
${qgraphicsview_resource_files}
)
set(images_resource_files
"chiptester/qt4logo.png"
)
qt_internal_add_resource(tst_bench_qgraphicsview "images"
PREFIX
"/"
BASE
"chiptester"
FILES
${images_resource_files}
)
#### Keys ignored in scope 1:.:.:qgraphicsview.pro:<TRUE>:
# TEMPLATE = "app"
## Scopes:
#####################################################################
qt_internal_extend_target(tst_bench_qgraphicsview CONDITION TARGET Qt::OpenGL
LIBRARIES
Qt::OpenGL
)