Changeset View
Changeset View
Standalone View
Standalone View
plugins/platforms/virtual/CMakeLists.txt
1 | set(VIRTUAL_SOURCES | 1 | set(VIRTUAL_SOURCES | ||
---|---|---|---|---|---|
2 | egl_gbm_backend.cpp | 2 | egl_gbm_backend.cpp | ||
3 | scene_qpainter_virtual_backend.cpp | 3 | scene_qpainter_virtual_backend.cpp | ||
4 | screens_virtual.cpp | 4 | screens_virtual.cpp | ||
5 | virtual_backend.cpp | 5 | virtual_backend.cpp | ||
6 | virtual_output.cpp | 6 | virtual_output.cpp | ||
7 | ) | 7 | ) | ||
8 | 8 | | |||
9 | include_directories(${CMAKE_SOURCE_DIR}/platformsupport/scenes/opengl) | 9 | include_directories(${CMAKE_SOURCE_DIR}/platformsupport/scenes/opengl) | ||
10 | include(ECMQtDeclareLoggingCategory) | 10 | include(ECMQtDeclareLoggingCategory) | ||
11 | ecm_qt_declare_logging_category(VIRTUAL_SOURCES HEADER logging.h IDENTIFIER KWIN_VIRTUAL CATEGORY_NAME kwin_platform_virtual DEFAULT_SEVERITY Critical) | 11 | ecm_qt_declare_logging_category(VIRTUAL_SOURCES HEADER logging.h IDENTIFIER KWIN_VIRTUAL CATEGORY_NAME kwin_platform_virtual DEFAULT_SEVERITY Critical) | ||
12 | 12 | | |||
13 | add_library(KWinWaylandVirtualBackend MODULE ${VIRTUAL_SOURCES}) | 13 | add_library(KWinWaylandVirtualBackend MODULE ${VIRTUAL_SOURCES}) | ||
14 | set_target_properties(KWinWaylandVirtualBackend PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/org.kde.kwin.waylandbackends/") | 14 | set_target_properties(KWinWaylandVirtualBackend PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/org.kde.kwin.waylandbackends/") | ||
15 | target_link_libraries(KWinWaylandVirtualBackend kwin SceneQPainterBackend SceneOpenGLBackend) | 15 | target_link_libraries(KWinWaylandVirtualBackend kwinwl SceneQPainterBackend SceneOpenGLBackend) | ||
16 | 16 | | |||
17 | install( | 17 | install( | ||
18 | TARGETS | 18 | TARGETS | ||
19 | KWinWaylandVirtualBackend | 19 | KWinWaylandVirtualBackend | ||
20 | DESTINATION | 20 | DESTINATION | ||
21 | ${PLUGIN_INSTALL_DIR}/org.kde.kwin.waylandbackends/ | 21 | ${PLUGIN_INSTALL_DIR}/org.kde.kwin.waylandbackends/ | ||
22 | ) | 22 | ) |