2021-10-09 13:43:07 +00:00
|
|
|
#######################################
|
|
|
|
# Effect
|
|
|
|
|
|
|
|
set(slide_SOURCES
|
2021-10-12 11:06:31 +00:00
|
|
|
main.cpp
|
2021-10-09 13:43:07 +00:00
|
|
|
slide.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
kconfig_add_kcfg_files(slide_SOURCES
|
|
|
|
slideconfig.kcfgc
|
|
|
|
)
|
|
|
|
|
|
|
|
kwin4_add_effect_module(kwin4_effect_slide ${slide_SOURCES})
|
2022-02-14 17:55:59 +00:00
|
|
|
target_link_libraries(kwin4_effect_slide PRIVATE
|
|
|
|
kwineffects
|
|
|
|
|
|
|
|
KF5::ConfigGui
|
|
|
|
)
|
2021-10-09 13:43:07 +00:00
|
|
|
|
2009-02-05 15:35:38 +00:00
|
|
|
#######################################
|
2017-12-30 17:17:13 +00:00
|
|
|
# Config
|
2022-02-23 14:15:20 +00:00
|
|
|
if (KWIN_BUILD_KCMS)
|
|
|
|
set(kwin_slide_config_SRCS slide_config.cpp)
|
|
|
|
ki18n_wrap_ui(kwin_slide_config_SRCS slide_config.ui)
|
|
|
|
kconfig_add_kcfg_files(kwin_slide_config_SRCS slideconfig.kcfgc)
|
2009-02-05 15:35:38 +00:00
|
|
|
|
2022-02-23 14:15:20 +00:00
|
|
|
kwin_add_effect_config(kwin_slide_config ${kwin_slide_config_SRCS})
|
2017-12-30 17:17:13 +00:00
|
|
|
|
2022-02-23 14:15:20 +00:00
|
|
|
target_link_libraries(kwin_slide_config
|
|
|
|
KF5::ConfigWidgets
|
|
|
|
KF5::CoreAddons
|
|
|
|
KF5::I18n
|
|
|
|
Qt::DBus
|
|
|
|
KWinEffectsInterface
|
|
|
|
)
|
|
|
|
endif()
|