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

63 lines
1.5 KiB
CMake

#######################################
# Effect
# Source files
set( kwin4_effect_builtins_sources ${kwin4_effect_builtins_sources}
cube/cube.cpp
cube/cube_proxy.cpp
cube/cubeslide.cpp
)
kconfig_add_kcfg_files(kwin4_effect_builtins_sources
cube/cubeslideconfig.kcfgc
cube/cubeconfig.kcfgc
)
# .desktop files
install( FILES
cube/cube.desktop
cube/cubeslide.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
# Data files
install( FILES
cube/data/cubecap.png
DESTINATION ${DATA_INSTALL_DIR}/kwin )
install( FILES
cube/data/1.10/cube-cap.glsl
cube/data/1.10/cube-reflection.glsl
cube/data/1.10/cylinder.vert
cube/data/1.10/sphere.vert
DESTINATION ${DATA_INSTALL_DIR}/kwin/shaders/1.10
)
install( FILES
cube/data/1.40/cube-cap.glsl
cube/data/1.40/cube-reflection.glsl
cube/data/1.40/cylinder.vert
cube/data/1.40/sphere.vert
DESTINATION ${DATA_INSTALL_DIR}/kwin/shaders/1.40
)
#######################################
# Config
# Source files
set( kwin4_effect_builtins_config_sources ${kwin4_effect_builtins_config_sources}
cube/cube_config.cpp
cube/cube_config.ui
cube/cubeslide_config.cpp
cube/cubeslide_config.ui
)
kconfig_add_kcfg_files(kwin4_effect_builtins_config_sources
cube/cubeslideconfig.kcfgc
cube/cubeconfig.kcfgc
)
# .desktop files
install( FILES
cube/cube_config.desktop
cube/cubeslide_config.desktop
DESTINATION ${SERVICES_INSTALL_DIR}/kwin )