c1486596fb
Shaders are moved into dedicated directories 1.10 and 1.40. 1.10 contains the already existing versions, 1.40 copies of them adjusted to GLSL 1.40. REVIEW: 110571
63 lines
1.5 KiB
CMake
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
|
|
)
|
|
|
|
kde4_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
|
|
)
|
|
|
|
kde4_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 )
|