summaryrefslogtreecommitdiff
path: root/tests/benchmarks/mapitems_framecount/CMakeLists.txt
blob: 68fee55f71b6c31a8a66600bf0fc09ae52756289 (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
# Copyright (C) 2023 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS
  Widgets QuickWidgets
)

qt_internal_add_benchmark(mapitems_framecount
    GUI
    SOURCES
        main.cpp
    LIBRARIES
        Qt::Gui
        Qt::Widgets
        Qt::Quick
        Qt::QuickWidgets
)

# Resources:
set(qml_resource_files
    "circles.qml"
    "rectangles.qml"
    "polylines.qml"
    "polygons.qml"
)

qt_internal_add_resource(mapitems_framecount "qml"
    PREFIX
        "/"
    FILES
        ${qml_resource_files}
)