Export wl-shell integration

Support wl-shell integration
as a module for external build

Change-Id: I6cd5e5c35ff1162943ffdcbe7ff834f30783e5a8
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
Elvis Lee 2020-12-31 13:49:10 +09:00
parent 5beb9d4e0d
commit b9a1fb393d

View File

@ -1,36 +1,50 @@
# Generated from wl-shell.pro. # Generated from wl-shell.pro.
##################################################################### #####################################################################
## QWaylandWlShellIntegrationPlugin Plugin: ## WlShellIntegration Module:
##################################################################### #####################################################################
qt_internal_add_plugin(QWaylandWlShellIntegrationPlugin qt_internal_add_module(WlShellIntegration
OUTPUT_NAME wl-shell CONFIG_MODULE_NAME wl_shell_integration
TYPE wayland-shell-integration INTERNAL_MODULE
SOURCES SOURCES
main.cpp
qwaylandwlshellintegration.cpp qwaylandwlshellintegration_p.h qwaylandwlshellintegration.cpp qwaylandwlshellintegration_p.h
qwaylandwlshellsurface.cpp qwaylandwlshellsurface_p.h qwaylandwlshellsurface.cpp qwaylandwlshellsurface_p.h
PUBLIC_LIBRARIES PUBLIC_LIBRARIES
Qt::Core
Qt::Gui
Qt::GuiPrivate Qt::GuiPrivate
Qt::WaylandClientPrivate Qt::WaylandClientPrivate
Wayland::Client Wayland::Client
) )
qt6_generate_wayland_protocol_client_sources(QWaylandWlShellIntegrationPlugin qt6_generate_wayland_protocol_client_sources(WlShellIntegration
FILES FILES
${CMAKE_CURRENT_SOURCE_DIR}/../../../3rdparty/protocol/wayland.xml ${CMAKE_CURRENT_SOURCE_DIR}/../../../3rdparty/protocol/wayland.xml
) )
#### Keys ignored in scope 1:.:.:wl-shell.pro:<TRUE>: #### Keys ignored in scope 2:.:.:wl-shell-integration.pro:<TRUE>:
# OTHER_FILES = "wl-shell.json" # MODULE = "wl_shell_integration"
## Scopes: ## Scopes:
##################################################################### #####################################################################
qt_internal_extend_target(QWaylandWlShellIntegrationPlugin CONDITION QT_FEATURE_xkbcommon qt_internal_extend_target(WlShellIntegration CONDITION QT_FEATURE_xkbcommon
LIBRARIES LIBRARIES
XKB::XKB XKB::XKB
) )
#####################################################################
## QWaylandWlShellIntegrationPlugin Plugin:
#####################################################################
qt_internal_add_plugin(QWaylandWlShellIntegrationPlugin
OUTPUT_NAME wl-shell-plugin
TYPE wayland-shell-integration
SOURCES
main.cpp
PUBLIC_LIBRARIES
Qt::GuiPrivate
Qt::WaylandClientPrivate
Qt::WlShellIntegrationPrivate
)
#### Keys ignored in scope 4:.:.:wl-shell-plugin.pro:<TRUE>:
# OTHER_FILES = "wl-shell.json"