mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
This allows us in the future to use mobileshell without having the WindowUtil singleton loaded (which does a bunch of wayland calls that aren't necessary for most applications).
25 lines
850 B
CMake
25 lines
850 B
CMake
# SPDX-FileCopyrightText: 2023 Devin Lin <devin@kde.org>
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
add_library(windowplugin)
|
|
target_sources(windowplugin PRIVATE
|
|
windowplugin.cpp
|
|
windowutil.cpp
|
|
)
|
|
|
|
target_link_libraries(windowplugin
|
|
Qt::Qml
|
|
Qt::DBus
|
|
Qt::Gui
|
|
Qt::Quick
|
|
KF6::WaylandClient
|
|
KF6::Service
|
|
KF6::ConfigWidgets
|
|
)
|
|
|
|
set_property(TARGET windowplugin PROPERTY LIBRARY_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/org/kde/plasma/private/mobileshell/windowplugin)
|
|
file(COPY qmldir DESTINATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/org/kde/plasma/private/mobileshell/windowplugin)
|
|
|
|
install(TARGETS windowplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/private/mobileshell/windowplugin)
|
|
install(FILES qmldir ${qml_SRC} DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/private/mobileshell/windowplugin)
|
|
|