2009-02-05 15:35:38 +00:00
|
|
|
#######################################
|
|
|
|
# Effect
|
|
|
|
install( FILES
|
2014-03-17 13:56:11 +00:00
|
|
|
zoom.desktop
|
2009-02-05 15:35:38 +00:00
|
|
|
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
# Config
|
2014-03-17 13:56:11 +00:00
|
|
|
set(kwin_zoom_config_SRCS zoom_config.cpp)
|
|
|
|
qt5_wrap_ui(kwin_zoom_config_SRCS zoom_config.ui)
|
2014-03-18 15:09:20 +00:00
|
|
|
qt5_add_dbus_interface(kwin_zoom_config_SRCS ${kwin_effects_dbus_xml} kwineffects_interface)
|
2014-03-17 13:56:11 +00:00
|
|
|
kconfig_add_kcfg_files(kwin_zoom_config_SRCS zoomconfig.kcfgc)
|
2009-02-05 15:35:38 +00:00
|
|
|
|
2014-03-17 13:56:11 +00:00
|
|
|
add_library(kwin_zoom_config MODULE ${kwin_zoom_config_SRCS})
|
2009-02-05 15:35:38 +00:00
|
|
|
|
2014-03-17 13:56:11 +00:00
|
|
|
target_link_libraries(kwin_zoom_config
|
|
|
|
KF5::ConfigWidgets
|
|
|
|
KF5::GlobalAccel
|
|
|
|
KF5::I18n
|
|
|
|
KF5::Service
|
|
|
|
KF5::XmlGui
|
|
|
|
)
|
|
|
|
|
|
|
|
kservice_desktop_to_json(kwin_zoom_config zoom_config.desktop)
|
|
|
|
|
|
|
|
install(
|
|
|
|
TARGETS
|
|
|
|
kwin_zoom_config
|
|
|
|
DESTINATION
|
|
|
|
${PLUGIN_INSTALL_DIR}/kwin/effects/configs
|
|
|
|
)
|