aboutsummaryrefslogtreecommitdiffstats
path: root/examples/gain/gui/CMakeLists.txt
blob: 7155bf8615297e77dc3dd54b29ee57aaf8238a8c (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
# Copyright (C) 2024 The Qt Company Ltd.
# SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Qt-Commercial

find_package(Qt6 REQUIRED COMPONENTS Core Qml Quick)
qt_standard_project_setup(REQUIRES 6.5)

set(target Gain)

qt_add_executable(${target} main.cpp)

set_target_properties(${target}
    PROPERTIES
        WIN32_EXECUTABLE TRUE
        MACOSX_BUNDLE TRUE
)

qt_add_qml_module(${target}
    URI "GainModule"
    VERSION 1.0
    QML_FILES "Main.qml"
)

target_link_libraries(${target}
    PRIVATE
        Qt6::Quick
        clapinterfaceplugin
        ClapControls
)

create_symlink_target_gui(${target})