2009-02-05 15:35:38 +00:00
|
|
|
#######################################
|
|
|
|
# Effect
|
|
|
|
|
|
|
|
# .desktop files
|
|
|
|
install( FILES
|
2014-03-17 13:56:11 +00:00
|
|
|
trackmouse.desktop
|
2009-02-05 15:35:38 +00:00
|
|
|
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
|
|
|
|
|
|
|
|
# Data files
|
|
|
|
install( FILES
|
2014-03-17 13:56:11 +00:00
|
|
|
data/tm_inner.png
|
|
|
|
data/tm_outer.png
|
2009-02-05 15:35:38 +00:00
|
|
|
DESTINATION ${DATA_INSTALL_DIR}/kwin )
|
|
|
|
|
|
|
|
#######################################
|
|
|
|
# Config
|
2014-03-17 13:56:11 +00:00
|
|
|
set(kwin_trackmouse_config_SRCS trackmouse_config.cpp)
|
|
|
|
qt5_wrap_ui(kwin_trackmouse_config_SRCS trackmouse_config.ui)
|
2014-03-18 15:09:20 +00:00
|
|
|
qt5_add_dbus_interface(kwin_trackmouse_config_SRCS ${kwin_effects_dbus_xml} kwineffects_interface)
|
2014-03-17 13:56:11 +00:00
|
|
|
kconfig_add_kcfg_files(kwin_trackmouse_config_SRCS trackmouseconfig.kcfgc)
|
|
|
|
|
|
|
|
add_library(kwin_trackmouse_config MODULE ${kwin_trackmouse_config_SRCS})
|
|
|
|
|
|
|
|
target_link_libraries(kwin_trackmouse_config
|
|
|
|
KF5::ConfigWidgets
|
|
|
|
KF5::GlobalAccel
|
|
|
|
KF5::I18n
|
|
|
|
KF5::Service
|
|
|
|
KF5::XmlGui
|
|
|
|
)
|
|
|
|
|
|
|
|
kservice_desktop_to_json(kwin_trackmouse_config trackmouse_config.desktop)
|
|
|
|
|
|
|
|
install(
|
|
|
|
TARGETS
|
|
|
|
kwin_trackmouse_config
|
|
|
|
DESTINATION
|
|
|
|
${PLUGIN_INSTALL_DIR}/kwin/effects/configs
|
|
|
|
)
|