39f9581d4f
* Border Sizes * Close menu double click Both are added to the Settings and exposed in the decoration kcm. As it started to no longer scale the kcm uses a ui file. Still missing: * buttons * custom decoration configuration * GHNS * search
43 lines
1 KiB
CMake
43 lines
1 KiB
CMake
# KI18N Translation Domain for this library
|
|
add_definitions(-DTRANSLATION_DOMAIN=\"kcmkwindecoration\")
|
|
|
|
add_subdirectory(declarative-plugin)
|
|
|
|
set(kcm_kwindecoration_PART_SRCS
|
|
kcm.cpp
|
|
# buttons.cpp
|
|
# buttonsconfigdialog.cpp
|
|
# configdialog.cpp
|
|
decorationmodel.cpp
|
|
)
|
|
|
|
ki18n_wrap_ui(kcm_kwindecoration_PART_SRCS
|
|
auroraeconfig.ui
|
|
buttons.ui
|
|
config.ui
|
|
decoration.ui
|
|
kcm.ui
|
|
)
|
|
|
|
add_library(kcm_kwindecoration MODULE ${kcm_kwindecoration_PART_SRCS})
|
|
target_link_libraries(kcm_kwindecoration
|
|
KDecoration2::KDecoration
|
|
Qt5::DBus
|
|
Qt5::Quick
|
|
Qt5::QuickWidgets
|
|
Qt5::UiTools
|
|
KF5::Completion
|
|
KF5::ConfigWidgets
|
|
KF5::I18n
|
|
KF5::NewStuff
|
|
KF5::WindowSystem
|
|
KF5::Service
|
|
)
|
|
install(TARGETS kcm_kwindecoration DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
########### install files ###############
|
|
|
|
install( FILES kwindecoration.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
|
install( FILES
|
|
qml/main.qml
|
|
DESTINATION ${DATA_INSTALL_DIR}/kwin/kcm_kwindecoration)
|