2015-10-02 08:44:29 +00:00
|
|
|
set(VIRTUAL_SOURCES
|
2015-10-08 14:12:09 +00:00
|
|
|
egl_gbm_backend.cpp
|
2015-10-02 08:44:29 +00:00
|
|
|
virtual_backend.cpp
|
2018-03-19 11:05:57 +00:00
|
|
|
virtual_output.cpp
|
2015-10-02 08:44:29 +00:00
|
|
|
scene_qpainter_virtual_backend.cpp
|
|
|
|
screens_virtual.cpp
|
|
|
|
)
|
|
|
|
|
2017-09-08 20:30:18 +00:00
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/platformsupport/scenes/opengl)
|
2016-07-19 08:51:09 +00:00
|
|
|
include(ECMQtDeclareLoggingCategory)
|
|
|
|
ecm_qt_declare_logging_category(VIRTUAL_SOURCES HEADER logging.h IDENTIFIER KWIN_VIRTUAL CATEGORY_NAME kwin_platform_virtual DEFAULT_SEVERITY Critical)
|
|
|
|
|
2015-10-02 08:44:29 +00:00
|
|
|
add_library(KWinWaylandVirtualBackend MODULE ${VIRTUAL_SOURCES})
|
2018-12-06 17:38:36 +00:00
|
|
|
set_target_properties(KWinWaylandVirtualBackend PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/org.kde.kwin.waylandbackends/")
|
2017-10-03 17:19:35 +00:00
|
|
|
target_link_libraries(KWinWaylandVirtualBackend kwin SceneQPainterBackend SceneOpenGLBackend)
|
2015-10-02 08:44:29 +00:00
|
|
|
|
|
|
|
install(
|
|
|
|
TARGETS
|
|
|
|
KWinWaylandVirtualBackend
|
|
|
|
DESTINATION
|
|
|
|
${PLUGIN_INSTALL_DIR}/org.kde.kwin.waylandbackends/
|
|
|
|
)
|