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

37 lines
1.1 KiB
CMake

#######################################
# Effect
# Source files
set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
coverswitch/coverswitch.cpp
)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources coverswitch/coverswitchconfig.kcfgc)
# .desktop files
install( FILES
coverswitch/coverswitch.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
install( FILES
coverswitch/shaders/1.10/coverswitch-reflection.glsl
DESTINATION ${DATA_INSTALL_DIR}/kwin/shaders/1.10 )
install( FILES
coverswitch/shaders/1.40/coverswitch-reflection.glsl
DESTINATION ${DATA_INSTALL_DIR}/kwin/shaders/1.40 )
#######################################
# Config
# Source files
set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources}
coverswitch/coverswitch_config.cpp
coverswitch/coverswitch_config.ui
)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources coverswitch/coverswitchconfig.kcfgc)
# .desktop files
install( FILES
coverswitch/coverswitch_config.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )