mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
This commit writes options as immutable to the config file ([$i] suffix), so that user defined options from desktop do not override our specified mobile settings. This commit also moves kdeglobals settings to be written to ~/.config/plasma-mobile/kdeglobals rather than directly to ~/.config/kdeglobals, continuing the work from !723 Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/467
27 lines
657 B
CMake
27 lines
657 B
CMake
# SPDX-FileCopyrightText: 2023 Devin Lin <devin@kde.org>
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
set(plasma-mobile-envmanager_SRCS
|
|
main.cpp
|
|
settings.cpp
|
|
utils.cpp
|
|
config.h
|
|
)
|
|
|
|
add_executable(plasma-mobile-envmanager ${plasma-mobile-envmanager_SRCS} ${RESOURCES})
|
|
target_link_libraries(plasma-mobile-envmanager
|
|
Qt::Qml
|
|
Qt::Gui
|
|
Qt::Widgets
|
|
Qt::Quick
|
|
KF6::I18n
|
|
KF6::ConfigCore
|
|
KF6::ConfigGui
|
|
KF6::CoreAddons
|
|
KF6::DBusAddons
|
|
KF6::Package
|
|
)
|
|
|
|
target_include_directories(plasma-mobile-envmanager PRIVATE ${CMAKE_BINARY_DIR})
|
|
install(TARGETS plasma-mobile-envmanager ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
|
|