summaryrefslogtreecommitdiffstats
path: root/src/imports/compositor/CMakeLists.txt
blob: 93545f387bc5ffc3b88e5bc89fa82cb77763265c (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
38
39
40
41
42
43
44
45
46
# Generated from compositor.pro.

#####################################################################
## qwaylandcompositorplugin Plugin:
#####################################################################

qt_internal_add_qml_module(qwaylandcompositorplugin
    URI "QtWayland.Compositor"
    VERSION "${CMAKE_PROJECT_VERSION}"
    CLASSNAME QWaylandCompositorPlugin
    SOURCES
        qwaylandquickcompositorplugin.cpp
    PUBLIC_LIBRARIES
        Qt::Core
        Qt::CorePrivate
        Qt::Gui
        Qt::GuiPrivate
        Qt::QmlPrivate
        Qt::QuickPrivate
        Qt::WaylandCompositor
        Qt::WaylandCompositorPrivate
)

#### Keys ignored in scope 1:.:.:compositor.pro:<TRUE>:
# CXX_MODULE = "qml"
# OTHER_FILES = "qmldir" "$$QML_FILES"
# QML_FILES = "$$PWD/WaylandOutputWindow.qml" "$$PWD/WaylandCursorItem.qml"
# QML_IMPORT_VERSION = "$$QT_VERSION"
# QMl_IMPORT_NAME = "QtWayland.Compositor"
# TARGETPATH = "QtWayland/Compositor"

set(qml_files
    "WaylandOutputWindow.qml"
    "WaylandCursorItem.qml"
)
set_source_files_properties(WaylandOutputWindow.qml PROPERTIES
    QT_QML_SOURCE_VERSION "1.0"
)
set_source_files_properties(WaylandCursorItem.qml PROPERTIES
    QT_QML_SOURCE_VERSION "1.0"
)

qt6_target_qml_files(qwaylandcompositorplugin
    FILES
        ${qml_files}
)