1 # Adds effect plugin with given name. Sources are given after the name
2 macro(KWIN4_ADD_EFFECT name)
3 kde4_add_plugin(kwin4_effect_${name} ${ARGN})
4 target_link_libraries(kwin4_effect_${name} kwineffects ${KDE4_KDEUI_LIBS})
5 install(TARGETS kwin4_effect_${name} DESTINATION ${PLUGIN_INSTALL_DIR})
6 endmacro(KWIN4_ADD_EFFECT)
8 macro(KWIN4_ADD_EFFECT_CONFIG name)
9 kde4_add_plugin(kcm_kwin4_effect_${name} ${ARGN})
10 target_link_libraries(kcm_kwin4_effect_${name} kwineffects ${KDE4_KDEUI_LIBS})
11 install(TARGETS kcm_kwin4_effect_${name} DESTINATION ${PLUGIN_INSTALL_DIR})
12 endmacro(KWIN4_ADD_EFFECT_CONFIG)
15 ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/lib
19 ### tests - meant to test/demo certain functionality, not really usable for end-users
20 SET(kwin4_effect_tests_sources
22 demo_shiftworkspaceup.cpp
30 demo_shakymove.desktop
31 demo_shiftworkspaceup.desktop
36 test_thumbnail.desktop
37 DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
40 # opengl test/demo stuff
41 SET(kwin4_effect_tests_sources ${kwin4_effect_tests_sources}
50 demo_showpicture.desktop
51 demo_wavywindows.desktop
53 DESTINATION ${SERVICES_INSTALL_DIR}/kwin )
58 DESTINATION ${DATA_INSTALL_DIR}/kwin )
62 KWIN4_ADD_EFFECT(tests ${kwin4_effect_tests_sources})