2015-05-05 15:58:09 +00:00
|
|
|
set(DRM_SOURCES
|
|
|
|
drm_backend.cpp
|
2016-08-31 12:00:31 +00:00
|
|
|
drm_object.cpp
|
2021-09-22 12:01:01 +00:00
|
|
|
drm_property.cpp
|
2016-08-31 12:00:31 +00:00
|
|
|
drm_object_connector.cpp
|
|
|
|
drm_object_crtc.cpp
|
|
|
|
drm_object_plane.cpp
|
2016-03-21 14:11:17 +00:00
|
|
|
drm_output.cpp
|
|
|
|
drm_buffer.cpp
|
2019-07-02 10:01:37 +00:00
|
|
|
edid.cpp
|
2015-05-05 15:58:09 +00:00
|
|
|
logging.cpp
|
|
|
|
scene_qpainter_drm_backend.cpp
|
2020-10-05 21:05:55 +00:00
|
|
|
drm_gpu.cpp
|
2020-11-28 17:53:41 +00:00
|
|
|
egl_multi_backend.cpp
|
2021-05-04 10:19:31 +00:00
|
|
|
dumb_swapchain.cpp
|
2021-06-22 00:23:17 +00:00
|
|
|
shadowbuffer.cpp
|
2021-05-25 22:05:17 +00:00
|
|
|
drm_pipeline.cpp
|
2021-12-07 11:16:53 +00:00
|
|
|
drm_pipeline_legacy.cpp
|
2021-07-26 23:11:50 +00:00
|
|
|
drm_abstract_output.cpp
|
|
|
|
drm_virtual_output.cpp
|
2021-02-05 18:45:34 +00:00
|
|
|
drm_lease_output.cpp
|
2021-11-10 11:41:57 +00:00
|
|
|
egl_gbm_backend.cpp
|
|
|
|
drm_buffer_gbm.cpp
|
|
|
|
gbm_surface.cpp
|
|
|
|
gbm_dmabuf.cpp
|
2015-05-05 15:58:09 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_library(KWinWaylandDrmBackend MODULE ${DRM_SOURCES})
|
2018-12-06 17:38:36 +00:00
|
|
|
set_target_properties(KWinWaylandDrmBackend PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/org.kde.kwin.waylandbackends/")
|
2021-11-10 11:41:57 +00:00
|
|
|
target_link_libraries(KWinWaylandDrmBackend kwin Libdrm::Libdrm gbm::gbm)
|
2015-05-05 15:58:09 +00:00
|
|
|
|
|
|
|
install(
|
|
|
|
TARGETS
|
|
|
|
KWinWaylandDrmBackend
|
|
|
|
DESTINATION
|
2021-01-29 10:34:52 +00:00
|
|
|
${KDE_INSTALL_PLUGINDIR}/org.kde.kwin.waylandbackends/
|
2015-05-05 15:58:09 +00:00
|
|
|
)
|