summaryrefslogtreecommitdiffstats
path: root/tests/manual/qmlspline/CMakeLists.txt
blob: 544fd319644365427ef287a1e65700436ec8e8eb (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
# Copyright (C) 2024 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause

set(CMAKE_INCLUDE_CURRENT_DIR ON)

qt_internal_add_manual_test(tst_qmlspline
    GUI
    SOURCES
        main.cpp
    )

target_sources(tst_qmlspline
  PRIVATE
    splinegen.h splinegen.cpp
)

target_link_libraries(tst_qmlspline PUBLIC
    Qt::Gui
    Qt::Graphs
    )

set(qmlspline_resource_files
    "qml/qmlspline/main.qml"
    )

qt_internal_add_resource(tst_qmlspline "qmlspline"
    PREFIX
    "/"
    FILES
    ${qmlspline_resource_files}
    )