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

35 lines
1 KiB
CMake

#######################################
# Effect
# Source files
set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
presentwindows/presentwindows.cpp
presentwindows/presentwindows_proxy.cpp
)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources presentwindows/presentwindowsconfig.kcfgc)
# .desktop files
install( FILES
presentwindows/presentwindows.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
install( FILES
presentwindows/main.qml
DESTINATION ${DATA_INSTALL_DIR}/kwin/effects/presentwindows/
)
#######################################
# Config
# Source files
set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources}
presentwindows/presentwindows_config.cpp
presentwindows/presentwindows_config.ui
)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources presentwindows/presentwindowsconfig.kcfgc)
# .desktop files
install( FILES
presentwindows/presentwindows_config.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )