Warning, /plasma/kwin/src/backends/x11/standalone/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 set(X11PLATFORM_SOURCES
0002 x11_standalone_backend.cpp
0003 x11_standalone_cursor.cpp
0004 x11_standalone_edge.cpp
0005 x11_standalone_effects.cpp
0006 x11_standalone_effects_keyboard_interception_filter.cpp
0007 x11_standalone_effects_mouse_interception_filter.cpp
0008 x11_standalone_egl_backend.cpp
0009 x11_standalone_keyboard.cpp
0010 x11_standalone_logging.cpp
0011 x11_standalone_non_composited_outline.cpp
0012 x11_standalone_output.cpp
0013 x11_standalone_overlaywindow.cpp
0014 x11_standalone_placeholderoutput.cpp
0015 x11_standalone_screenedges_filter.cpp
0016 x11_standalone_windowselector.cpp
0017 x11_standalone_xfixes_cursor_event_filter.cpp
0018 )
0019
0020 add_library(KWinX11Platform OBJECT ${X11PLATFORM_SOURCES})
0021 target_link_libraries(KWinX11Platform kwin KF6::Crash KF6::I18n X11::X11 XCB::XKB PkgConfig::XKBX11 Qt::GuiPrivate Libdrm::Libdrm
0022 XCB::COMPOSITE XCB::KEYSYMS XCB::RANDR)
0023 if (X11_Xi_FOUND)
0024 target_sources(KWinX11Platform PRIVATE x11_standalone_xinputintegration.cpp)
0025 target_link_libraries(KWinX11Platform X11::Xi)
0026 endif()
0027
0028 if (HAVE_GLX)
0029 target_sources(KWinX11Platform PRIVATE
0030 glxcontext.cpp
0031 x11_standalone_glx_backend.cpp
0032 x11_standalone_glx_context_attribute_builder.cpp
0033 x11_standalone_glxconvenience.cpp
0034 x11_standalone_omlsynccontrolvsyncmonitor.cpp
0035 x11_standalone_sgivideosyncvsyncmonitor.cpp
0036 )
0037 endif()
0038
0039 if (HAVE_DL_LIBRARY)
0040 target_link_libraries(KWinX11Platform ${DL_LIBRARY})
0041 endif()