kwin/effects/flipswitch/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

30 lines
816 B
CMake

#######################################
# Effect
# Source files
set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
flipswitch/flipswitch.cpp
)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources flipswitch/flipswitchconfig.kcfgc)
# .desktop files
install( FILES
flipswitch/flipswitch.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
#######################################
# Config
# Source files
set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources}
flipswitch/flipswitch_config.cpp
flipswitch/flipswitch_config.ui
)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources flipswitch/flipswitchconfig.kcfgc)
# .desktop files
install( FILES
flipswitch/flipswitch_config.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )