aboutsummaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
blob: 0bbb260f46122e74bd4423fa81cd3f54ccd8d917 (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
33
34
35
36
37
# Generated from src.pro.

cmake_minimum_required(VERSION 3.15.0)

qt_internal_add_executable(qmlbench
    OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" # special case
    SOURCES
        benchmark.h
        benchmarkrunner.cpp benchmarkrunner.h
        main.cpp
        options.h
        qmlbench.cpp qmlbench.h
        resultrecorder.cpp resultrecorder.h
        testmodel.cpp testmodel.h
    PUBLIC_LIBRARIES
        Qt::Gui
        Qt::Quick
        Qt::Quick3D
)

# Resources:
set(qmlbench_resource_files
    "3rdparty/v8-bench.js"
    "Benchmark.qml"
    "CreationBenchmark.qml"
    "Shell_SustainedFpsWithCount.qml"
    "Shell_SustainedFpsWithStaticCount.qml"
    "Shell_TotalFramesWithStaticCount.qml"
    "V8Benchmark.qml"
)

qt_internal_add_resource(qmlbench "qmlbench"
    PREFIX
        "/"
    FILES
        ${qmlbench_resource_files}
)