forked from quickshell/quickshell
all: optimize build
This commit is contained in:
parent
1168879d6d
commit
7ffce72b31
51 changed files with 1526 additions and 1277 deletions
|
@ -7,17 +7,19 @@ qt_add_library(quickshell-wayland-layershell STATIC
|
|||
qt_add_qml_module(quickshell-wayland-layershell
|
||||
URI Quickshell.Wayland._WlrLayerShell
|
||||
VERSION 0.1
|
||||
# Quickshell.Wayland currently creates a dependency cycle, add it here once the main
|
||||
# ls class is moved to this module.
|
||||
DEPENDENCIES QtQuick Quickshell
|
||||
DEPENDENCIES QtQuick
|
||||
)
|
||||
|
||||
qs_add_module_deps_light(quickshell-wayland-layershell Quickshell Quickshell.Wayland)
|
||||
|
||||
install_qml_module(quickshell-wayland-layershell)
|
||||
|
||||
wl_proto(quickshell-wayland-layershell wlr-layer-shell-unstable-v1 "${CMAKE_CURRENT_SOURCE_DIR}/wlr-layer-shell-unstable-v1.xml")
|
||||
target_link_libraries(quickshell-wayland-layershell PRIVATE ${QT_DEPS} wayland-client)
|
||||
|
||||
qs_pch(quickshell-wayland-layershell)
|
||||
qs_pch(quickshell-wayland-layershellplugin)
|
||||
target_link_libraries(quickshell-wayland-layershell PRIVATE
|
||||
Qt::Quick Qt::WaylandClient Qt::WaylandClientPrivate wayland-client
|
||||
)
|
||||
|
||||
qs_module_pch(quickshell-wayland-layershell SET large)
|
||||
|
||||
target_link_libraries(quickshell-wayland PRIVATE quickshell-wayland-layershellplugin)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue