mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2025-11-04 19:04:56 +11:00
all: optimize build
This commit is contained in:
parent
1168879d6d
commit
7ffce72b31
51 changed files with 1526 additions and 1277 deletions
|
|
@ -27,7 +27,6 @@ qt_add_qml_module(quickshell-hyprland
|
|||
|
||||
install_qml_module(quickshell-hyprland)
|
||||
|
||||
qs_pch(quickshell-hyprland)
|
||||
qs_pch(quickshell-hyprlandplugin)
|
||||
# intentionally no pch as the module is empty
|
||||
|
||||
target_link_libraries(quickshell PRIVATE quickshell-hyprlandplugin)
|
||||
|
|
|
|||
|
|
@ -7,9 +7,11 @@ qt_add_library(quickshell-hyprland-focus-grab STATIC
|
|||
qt_add_qml_module(quickshell-hyprland-focus-grab
|
||||
URI Quickshell.Hyprland._FocusGrab
|
||||
VERSION 0.1
|
||||
DEPENDENCIES QtQml Quickshell
|
||||
DEPENDENCIES QtQml
|
||||
)
|
||||
|
||||
qs_add_module_deps_light(quickshell-hyprland-focus-grab Quickshell)
|
||||
|
||||
install_qml_module(quickshell-hyprland-focus-grab)
|
||||
|
||||
wl_proto(quickshell-hyprland-focus-grab
|
||||
|
|
@ -17,9 +19,10 @@ wl_proto(quickshell-hyprland-focus-grab
|
|||
"${CMAKE_CURRENT_SOURCE_DIR}/hyprland-focus-grab-v1.xml"
|
||||
)
|
||||
|
||||
target_link_libraries(quickshell-hyprland-focus-grab PRIVATE ${QT_DEPS} wayland-client)
|
||||
target_link_libraries(quickshell-hyprland-focus-grab PRIVATE
|
||||
Qt::Quick Qt::WaylandClient Qt::WaylandClientPrivate wayland-client
|
||||
)
|
||||
|
||||
qs_pch(quickshell-hyprland-focus-grab)
|
||||
qs_pch(quickshell-hyprland-focus-grabplugin)
|
||||
qs_module_pch(quickshell-hyprland-focus-grab SET large)
|
||||
|
||||
target_link_libraries(quickshell PRIVATE quickshell-hyprland-focus-grabplugin)
|
||||
|
|
|
|||
|
|
@ -17,9 +17,10 @@ wl_proto(quickshell-hyprland-global-shortcuts
|
|||
"${CMAKE_CURRENT_SOURCE_DIR}/hyprland-global-shortcuts-v1.xml"
|
||||
)
|
||||
|
||||
target_link_libraries(quickshell-hyprland-global-shortcuts PRIVATE ${QT_DEPS} wayland-client)
|
||||
target_link_libraries(quickshell-hyprland-global-shortcuts PRIVATE
|
||||
Qt::Qml Qt::WaylandClient Qt::WaylandClientPrivate wayland-client
|
||||
)
|
||||
|
||||
qs_pch(quickshell-hyprland-global-shortcuts)
|
||||
qs_pch(quickshell-hyprland-global-shortcutsplugin)
|
||||
qs_module_pch(quickshell-hyprland-global-shortcuts)
|
||||
|
||||
target_link_libraries(quickshell PRIVATE quickshell-hyprland-global-shortcutsplugin)
|
||||
|
|
|
|||
|
|
@ -8,14 +8,15 @@ qt_add_library(quickshell-hyprland-ipc STATIC
|
|||
qt_add_qml_module(quickshell-hyprland-ipc
|
||||
URI Quickshell.Hyprland._Ipc
|
||||
VERSION 0.1
|
||||
DEPENDENCIES QtQml Quickshell
|
||||
DEPENDENCIES QtQuick
|
||||
)
|
||||
|
||||
qs_add_module_deps_light(quickshell-hyprland-ipc Quickshell)
|
||||
|
||||
install_qml_module(quickshell-hyprland-ipc)
|
||||
|
||||
target_link_libraries(quickshell-hyprland-ipc PRIVATE ${QT_DEPS})
|
||||
target_link_libraries(quickshell-hyprland-ipc PRIVATE Qt::Quick)
|
||||
|
||||
qs_pch(quickshell-hyprland-ipc)
|
||||
qs_pch(quickshell-hyprland-ipcplugin)
|
||||
qs_module_pch(quickshell-hyprland-ipc SET large)
|
||||
|
||||
target_link_libraries(quickshell PRIVATE quickshell-hyprland-ipcplugin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue