2010-11-10 19:21:56 +00:00
|
|
|
#######################################
|
|
|
|
# Effect
|
|
|
|
install( FILES
|
2014-03-17 13:56:11 +00:00
|
|
|
windowgeometry.desktop
|
2010-11-10 19:21:56 +00:00
|
|
|
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
# Config
|
2014-03-17 13:56:11 +00:00
|
|
|
set(kwin_windowgeometry_config_SRCS windowgeometry_config.cpp)
|
|
|
|
qt5_wrap_ui(kwin_windowgeometry_config_SRCS windowgeometry_config.ui)
|
2014-03-18 15:09:20 +00:00
|
|
|
qt5_add_dbus_interface(kwin_windowgeometry_config_SRCS ${kwin_effects_dbus_xml} kwineffects_interface)
|
2014-03-17 13:56:11 +00:00
|
|
|
kconfig_add_kcfg_files(kwin_windowgeometry_config_SRCS windowgeometryconfig.kcfgc)
|
2010-11-10 19:21:56 +00:00
|
|
|
|
2014-03-17 13:56:11 +00:00
|
|
|
add_library(kwin_windowgeometry_config MODULE ${kwin_windowgeometry_config_SRCS})
|
2010-11-10 19:21:56 +00:00
|
|
|
|
2014-03-17 13:56:11 +00:00
|
|
|
target_link_libraries(kwin_windowgeometry_config
|
|
|
|
KF5::ConfigWidgets
|
|
|
|
KF5::GlobalAccel
|
|
|
|
KF5::I18n
|
|
|
|
KF5::Service
|
|
|
|
KF5::XmlGui
|
|
|
|
)
|
2012-09-19 08:17:17 +00:00
|
|
|
|
2014-03-17 13:56:11 +00:00
|
|
|
kservice_desktop_to_json(kwin_windowgeometry_config windowgeometry_config.desktop)
|
|
|
|
|
|
|
|
install(
|
|
|
|
TARGETS
|
|
|
|
kwin_windowgeometry_config
|
|
|
|
DESTINATION
|
|
|
|
${PLUGIN_INSTALL_DIR}/kwin/effects/configs
|
|
|
|
)
|