Warning, /frameworks/kwindowsystem/src/platforms/wayland/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 add_library(KF6WindowSystemKWaylandPlugin MODULE) 0002 set(wayland_plugin_SRCS 0003 plugin.cpp 0004 shm.cpp 0005 windoweffects.cpp 0006 windowshadow.cpp 0007 windowsystem.cpp 0008 waylandxdgactivationv1.cpp 0009 waylandxdgforeignv2.cpp 0010 plugin.h 0011 windoweffects.h 0012 windowshadow.h 0013 windowsystem.h 0014 waylandxdgactivationv1_p.h 0015 ) 0016 0017 0018 qt6_generate_wayland_protocol_client_sources(KF6WindowSystemKWaylandPlugin FILES 0019 ${WaylandProtocols_DATADIR}/staging/xdg-activation/xdg-activation-v1.xml 0020 ${WaylandProtocols_DATADIR}/unstable/xdg-foreign/xdg-foreign-unstable-v2.xml 0021 ${PLASMA_WAYLAND_PROTOCOLS_DIR}/blur.xml 0022 ${PLASMA_WAYLAND_PROTOCOLS_DIR}/contrast.xml 0023 ${PLASMA_WAYLAND_PROTOCOLS_DIR}/slide.xml 0024 ${PLASMA_WAYLAND_PROTOCOLS_DIR}/plasma-window-management.xml 0025 ${PLASMA_WAYLAND_PROTOCOLS_DIR}/shadow.xml 0026 ${Wayland_DATADIR}/wayland.xml 0027 ) 0028 0029 0030 ecm_qt_declare_logging_category(wayland_plugin_SRCS 0031 HEADER logging.h 0032 IDENTIFIER KWAYLAND_KWS 0033 CATEGORY_NAME kf.windowsystem.wayland 0034 OLD_CATEGORY_NAMES org.kde.kf5.kwindowsystem.kwayland 0035 DEFAULT_SEVERITY Warning 0036 DESCRIPTION "KWindowSystem Wayland Plugin" 0037 EXPORT KWINDOWSYSTEM 0038 ) 0039 0040 target_sources(KF6WindowSystemKWaylandPlugin PRIVATE ${wayland_plugin_SRCS}) 0041 0042 if(HAVE_MEMFD) 0043 target_compile_definitions(KF6WindowSystemKWaylandPlugin PRIVATE -DHAVE_MEMFD) 0044 endif() 0045 0046 0047 target_compile_options(KF6WindowSystemKWaylandPlugin PRIVATE -UQT_NO_KEYWORDS) 0048 0049 pkg_check_modules(XKBCommon REQUIRED IMPORTED_TARGET xkbcommon) 0050 0051 target_link_libraries(KF6WindowSystemKWaylandPlugin 0052 KF6WindowSystem 0053 Wayland::Client 0054 Qt::WaylandClient 0055 Qt::WaylandClientPrivate 0056 PkgConfig::XKBCommon 0057 ) 0058 0059 0060 install( 0061 TARGETS 0062 KF6WindowSystemKWaylandPlugin 0063 DESTINATION 0064 ${KDE_INSTALL_PLUGINDIR}/kf6/kwindowsystem/ 0065 )