qt5base-lts/tests/benchmarks/widgets/graphicsview/qgraphicsview/CMakeLists.txt
Leander Beernaert 344e4ec827 Convert remaining tests/benchmarks
Change-Id: Ie7d49d4dc5bf6b2345b54f6bdfffcd974123f729
Reviewed-by: Qt CMake Build Bot
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2019-11-04 15:48:51 +00:00

56 lines
1.2 KiB
CMake

# Generated from qgraphicsview.pro.
#####################################################################
## tst_bench_qgraphicsview Binary:
#####################################################################
add_qt_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(images_resource_files
"qt4logo.png"
)
add_qt_resource(tst_bench_qgraphicsview "images"
PREFIX
"/"
BASE
"chiptester"
FILES
${images_resource_files}
)
set(qgraphicsview_resource_files
"images/designer.png"
"images/wine-big.jpeg"
"images/wine.jpeg"
"random.data"
)
add_qt_resource(tst_bench_qgraphicsview "qgraphicsview"
PREFIX
"/"
FILES
${qgraphicsview_resource_files}
)
#### Keys ignored in scope 1:.:.:qgraphicsview.pro:<TRUE>:
# TEMPLATE = "app"
## Scopes:
#####################################################################
extend_target(tst_bench_qgraphicsview CONDITION TARGET Qt::OpenGL
PUBLIC_LIBRARIES
Qt::OpenGL
)