qt5base-lts/tests/benchmarks/widgets/graphicsview/qgraphicsview/CMakeLists.txt
Alexandru Croitor 1718948ed4 CMake: Regenerate benchmarks
Change-Id: I4154d9ebb8303338a07350b655c7b468751efd10
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2020-07-08 11:01:38 +02:00

56 lines
1.2 KiB
CMake

# Generated from qgraphicsview.pro.
#####################################################################
## tst_bench_qgraphicsview Binary:
#####################################################################
qt_add_benchmark(tst_bench_qgraphicsview
SOURCES
chiptester/chip.cpp chiptester/chip.h
chiptester/chiptester.cpp chiptester/chiptester.h
tst_qgraphicsview.cpp
PUBLIC_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_add_resource(tst_bench_qgraphicsview "qgraphicsview"
PREFIX
"/"
FILES
${qgraphicsview_resource_files}
)
set(images_resource_files
"qt4logo.png"
)
qt_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_extend_target(tst_bench_qgraphicsview CONDITION TARGET Qt::OpenGL
PUBLIC_LIBRARIES
Qt::OpenGL
)