mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2024-12-05 18:47:05 +08:00
53 lines
1.2 KiB
CMake
53 lines
1.2 KiB
CMake
# Copyright (C) 2022 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
#####################################################################
|
|
## 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}
|
|
)
|
|
|
|
## Scopes:
|
|
#####################################################################
|
|
|
|
qt_internal_extend_target(tst_bench_qgraphicsview CONDITION TARGET Qt::OpenGL
|
|
LIBRARIES
|
|
Qt::OpenGL
|
|
)
|