kwin/effects/trackmouse/CMakeLists.txt
Aleix Pol 94f31606e6 CMake macros porting
kconfig_add_kcfg_files
qt5_add_dbus_adaptor
qt5_generate_dbus_interface
2013-11-27 16:11:14 +01:00

36 lines
954 B
CMake

#######################################
# Effect
# Source files
set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
trackmouse/trackmouse.cpp
)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources trackmouse/trackmouseconfig.kcfgc)
# .desktop files
install( FILES
trackmouse/trackmouse.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
# Data files
install( FILES
trackmouse/data/tm_inner.png
trackmouse/data/tm_outer.png
DESTINATION ${DATA_INSTALL_DIR}/kwin )
#######################################
# Config
# Source files
set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources}
trackmouse/trackmouse_config.cpp
trackmouse/trackmouse_config.ui
)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources trackmouse/trackmouseconfig.kcfgc)
# .desktop files
install( FILES
trackmouse/trackmouse_config.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )