Warning, /plasma/libkscreen/backends/kwayland/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 
0002 set(wayland_SRCS
0003     waylandbackend.cpp
0004     waylandconfig.cpp
0005     waylandoutputdevice.cpp
0006     waylandoutputmanagement.cpp
0007     waylandoutputdevicemode.cpp
0008     waylandscreen.cpp
0009     ../utils.cpp
0010 )
0011 qt_add_dbus_interface(wayland_SRCS org.kde.KWin.TabletModeManager.xml tabletmodemanager_interface)
0012 
0013 ecm_qt_declare_logging_category(wayland_SRCS
0014                                 HEADER kscreen_kwayland_logging.h
0015                                 IDENTIFIER KSCREEN_WAYLAND
0016                                 CATEGORY_NAME kscreen.kwayland
0017 )
0018 
0019 add_library(KSC_KWayland MODULE)
0020 qt6_generate_wayland_protocol_client_sources(KSC_KWayland FILES
0021     ${PLASMA_WAYLAND_PROTOCOLS_DIR}/kde-output-device-v2.xml
0022     ${PLASMA_WAYLAND_PROTOCOLS_DIR}/kde-output-management-v2.xml
0023     ${PLASMA_WAYLAND_PROTOCOLS_DIR}/kde-output-order-v1.xml
0024 )
0025 
0026 target_sources(KSC_KWayland PRIVATE ${wayland_SRCS})
0027 
0028 set_target_properties(KSC_KWayland PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/kf6/kscreen")
0029 set_target_properties(KSC_KWayland PROPERTIES PREFIX "")
0030 target_link_libraries(KSC_KWayland Qt::Core
0031                                   Qt::DBus
0032                                   Qt::Gui
0033                                   Qt::WaylandClient
0034                                   KF6::Screen
0035                                   Wayland::Client
0036 )
0037 
0038 install(TARGETS KSC_KWayland DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf6/kscreen/)