effects: Build effect config only with KWIN_BUILD_KCMS
Without effects KCM there is no access to effect configuration either Signed-off-by: Eike Hein <eike.hein@mbition.io>
This commit is contained in:
parent
4c9c5f9fd5
commit
4a14ac51ed
19 changed files with 246 additions and 208 deletions
|
@ -25,16 +25,18 @@ target_link_libraries(kwin4_effect_blur PRIVATE
|
|||
|
||||
#######################################
|
||||
# Config
|
||||
set(kwin_blur_config_SRCS blur_config.cpp)
|
||||
ki18n_wrap_ui(kwin_blur_config_SRCS blur_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_blur_config_SRCS blurconfig.kcfgc)
|
||||
if (KWIN_BUILD_KCMS)
|
||||
set(kwin_blur_config_SRCS blur_config.cpp)
|
||||
ki18n_wrap_ui(kwin_blur_config_SRCS blur_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_blur_config_SRCS blurconfig.kcfgc)
|
||||
|
||||
kwin_add_effect_config(kwin_blur_config ${kwin_blur_config_SRCS})
|
||||
kwin_add_effect_config(kwin_blur_config ${kwin_blur_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_blur_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::I18n
|
||||
Qt::DBus
|
||||
KWinEffectsInterface
|
||||
)
|
||||
target_link_libraries(kwin_blur_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::I18n
|
||||
Qt::DBus
|
||||
KWinEffectsInterface
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -24,19 +24,21 @@ target_link_libraries(kwin4_effect_desktopgrid PRIVATE
|
|||
|
||||
#######################################
|
||||
# Config
|
||||
set(kwin_desktopgrid_config_SRCS desktopgrid_config.cpp)
|
||||
ki18n_wrap_ui(kwin_desktopgrid_config_SRCS desktopgrid_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_desktopgrid_config_SRCS desktopgridconfig.kcfgc)
|
||||
if (KWIN_BUILD_KCMS)
|
||||
set(kwin_desktopgrid_config_SRCS desktopgrid_config.cpp)
|
||||
ki18n_wrap_ui(kwin_desktopgrid_config_SRCS desktopgrid_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_desktopgrid_config_SRCS desktopgridconfig.kcfgc)
|
||||
|
||||
kwin_add_effect_config(kwin_desktopgrid_config ${kwin_desktopgrid_config_SRCS})
|
||||
kwin_add_effect_config(kwin_desktopgrid_config ${kwin_desktopgrid_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_desktopgrid_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
Qt::Quick
|
||||
kwineffects
|
||||
KWinEffectsInterface
|
||||
)
|
||||
target_link_libraries(kwin_desktopgrid_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
Qt::Quick
|
||||
kwineffects
|
||||
KWinEffectsInterface
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -19,16 +19,18 @@ target_link_libraries(kwin4_effect_diminactive PRIVATE
|
|||
|
||||
#######################################
|
||||
# Config
|
||||
set(kwin_diminactive_config_SRCS diminactive_config.cpp)
|
||||
ki18n_wrap_ui(kwin_diminactive_config_SRCS diminactive_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_diminactive_config_SRCS diminactiveconfig.kcfgc)
|
||||
if (KWIN_BUILD_KCMS)
|
||||
set(kwin_diminactive_config_SRCS diminactive_config.cpp)
|
||||
ki18n_wrap_ui(kwin_diminactive_config_SRCS diminactive_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_diminactive_config_SRCS diminactiveconfig.kcfgc)
|
||||
|
||||
kwin_add_effect_config(kwin_diminactive_config ${kwin_diminactive_config_SRCS})
|
||||
kwin_add_effect_config(kwin_diminactive_config ${kwin_diminactive_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_diminactive_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::I18n
|
||||
Qt::DBus
|
||||
KWinEffectsInterface
|
||||
)
|
||||
target_link_libraries(kwin_diminactive_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::I18n
|
||||
Qt::DBus
|
||||
KWinEffectsInterface
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -19,16 +19,18 @@ target_link_libraries(kwin4_effect_glide PRIVATE
|
|||
|
||||
#######################################
|
||||
# Config
|
||||
set(kwin_glide_config_SRCS glide_config.cpp)
|
||||
ki18n_wrap_ui(kwin_glide_config_SRCS glide_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_glide_config_SRCS glideconfig.kcfgc)
|
||||
if (KWIN_BUILD_KCMS)
|
||||
set(kwin_glide_config_SRCS glide_config.cpp)
|
||||
ki18n_wrap_ui(kwin_glide_config_SRCS glide_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_glide_config_SRCS glideconfig.kcfgc)
|
||||
|
||||
kwin_add_effect_config(kwin_glide_config ${kwin_glide_config_SRCS})
|
||||
kwin_add_effect_config(kwin_glide_config ${kwin_glide_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_glide_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::I18n
|
||||
Qt::DBus
|
||||
KWinEffectsInterface
|
||||
)
|
||||
target_link_libraries(kwin_glide_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::I18n
|
||||
Qt::DBus
|
||||
KWinEffectsInterface
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -18,15 +18,17 @@ target_link_libraries(kwin4_effect_invert PRIVATE
|
|||
|
||||
#######################################
|
||||
# Config
|
||||
set(kwin_invert_config_SRCS invert_config.cpp)
|
||||
if (KWIN_BUILD_KCMS)
|
||||
set(kwin_invert_config_SRCS invert_config.cpp)
|
||||
|
||||
kwin_add_effect_config(kwin_invert_config ${kwin_invert_config_SRCS})
|
||||
kwin_add_effect_config(kwin_invert_config ${kwin_invert_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_invert_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
KWinEffectsInterface
|
||||
)
|
||||
target_link_libraries(kwin_invert_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
KWinEffectsInterface
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -24,17 +24,19 @@ target_link_libraries(kwin4_effect_lookingglass PRIVATE
|
|||
|
||||
#######################################
|
||||
# Config
|
||||
set(kwin_lookingglass_config_SRCS lookingglass_config.cpp)
|
||||
ki18n_wrap_ui(kwin_lookingglass_config_SRCS lookingglass_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_lookingglass_config_SRCS lookingglassconfig.kcfgc)
|
||||
if (KWIN_BUILD_KCMS)
|
||||
set(kwin_lookingglass_config_SRCS lookingglass_config.cpp)
|
||||
ki18n_wrap_ui(kwin_lookingglass_config_SRCS lookingglass_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_lookingglass_config_SRCS lookingglassconfig.kcfgc)
|
||||
|
||||
kwin_add_effect_config(kwin_lookingglass_config ${kwin_lookingglass_config_SRCS})
|
||||
kwin_add_effect_config(kwin_lookingglass_config ${kwin_lookingglass_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_lookingglass_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
KWinEffectsInterface
|
||||
)
|
||||
target_link_libraries(kwin_lookingglass_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
KWinEffectsInterface
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -19,16 +19,18 @@ target_link_libraries(kwin4_effect_magiclamp PRIVATE
|
|||
|
||||
#######################################
|
||||
# Config
|
||||
set(kwin_magiclamp_config_SRCS magiclamp_config.cpp)
|
||||
ki18n_wrap_ui(kwin_magiclamp_config_SRCS magiclamp_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_magiclamp_config_SRCS magiclampconfig.kcfgc)
|
||||
if (KWIN_BUILD_KCMS)
|
||||
set(kwin_magiclamp_config_SRCS magiclamp_config.cpp)
|
||||
ki18n_wrap_ui(kwin_magiclamp_config_SRCS magiclamp_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_magiclamp_config_SRCS magiclampconfig.kcfgc)
|
||||
|
||||
kwin_add_effect_config(kwin_magiclamp_config ${kwin_magiclamp_config_SRCS})
|
||||
kwin_add_effect_config(kwin_magiclamp_config ${kwin_magiclamp_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_magiclamp_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::I18n
|
||||
Qt::DBus
|
||||
KWinEffectsInterface
|
||||
)
|
||||
target_link_libraries(kwin_magiclamp_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::I18n
|
||||
Qt::DBus
|
||||
KWinEffectsInterface
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -23,17 +23,19 @@ target_link_libraries(kwin4_effect_magnifier PRIVATE
|
|||
|
||||
#######################################
|
||||
# Config
|
||||
set(kwin_magnifier_config_SRCS magnifier_config.cpp)
|
||||
ki18n_wrap_ui(kwin_magnifier_config_SRCS magnifier_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_magnifier_config_SRCS magnifierconfig.kcfgc)
|
||||
if (KWIN_BUILD_KCMS)
|
||||
set(kwin_magnifier_config_SRCS magnifier_config.cpp)
|
||||
ki18n_wrap_ui(kwin_magnifier_config_SRCS magnifier_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_magnifier_config_SRCS magnifierconfig.kcfgc)
|
||||
|
||||
kwin_add_effect_config(kwin_magnifier_config ${kwin_magnifier_config_SRCS})
|
||||
kwin_add_effect_config(kwin_magnifier_config ${kwin_magnifier_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_magnifier_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
KWinEffectsInterface
|
||||
)
|
||||
target_link_libraries(kwin_magnifier_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
KWinEffectsInterface
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -23,17 +23,19 @@ target_link_libraries(kwin4_effect_mouseclick PRIVATE
|
|||
##########################
|
||||
## configurtion dialog
|
||||
##########################
|
||||
set(kwin_mouseclick_config_SRCS mouseclick_config.cpp)
|
||||
ki18n_wrap_ui(kwin_mouseclick_config_SRCS mouseclick_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_mouseclick_config_SRCS mouseclickconfig.kcfgc)
|
||||
if (KWIN_BUILD_KCMS)
|
||||
set(kwin_mouseclick_config_SRCS mouseclick_config.cpp)
|
||||
ki18n_wrap_ui(kwin_mouseclick_config_SRCS mouseclick_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_mouseclick_config_SRCS mouseclickconfig.kcfgc)
|
||||
|
||||
kwin_add_effect_config(kwin_mouseclick_config ${kwin_mouseclick_config_SRCS})
|
||||
kwin_add_effect_config(kwin_mouseclick_config ${kwin_mouseclick_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_mouseclick_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
KWinEffectsInterface
|
||||
)
|
||||
target_link_libraries(kwin_mouseclick_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
KWinEffectsInterface
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -22,17 +22,19 @@ target_link_libraries(kwin4_effect_mousemark PRIVATE
|
|||
|
||||
#######################################
|
||||
# Config
|
||||
set(kwin_mousemark_config_SRCS mousemark_config.cpp)
|
||||
ki18n_wrap_ui(kwin_mousemark_config_SRCS mousemark_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_mousemark_config_SRCS mousemarkconfig.kcfgc)
|
||||
if (KWIN_BUILD_KCMS)
|
||||
set(kwin_mousemark_config_SRCS mousemark_config.cpp)
|
||||
ki18n_wrap_ui(kwin_mousemark_config_SRCS mousemark_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_mousemark_config_SRCS mousemarkconfig.kcfgc)
|
||||
|
||||
kwin_add_effect_config(kwin_mousemark_config ${kwin_mousemark_config_SRCS})
|
||||
kwin_add_effect_config(kwin_mousemark_config ${kwin_mousemark_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_mousemark_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
KWinEffectsInterface
|
||||
)
|
||||
target_link_libraries(kwin_mousemark_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
KWinEffectsInterface
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
#
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
add_subdirectory(kcm)
|
||||
if (KWIN_BUILD_KCMS)
|
||||
add_subdirectory(kcm)
|
||||
endif()
|
||||
|
||||
set(overview_SOURCES
|
||||
expoarea.cpp
|
||||
|
|
|
@ -27,17 +27,19 @@ target_link_libraries(kwin4_effect_presentwindows PRIVATE
|
|||
|
||||
#######################################
|
||||
# Config
|
||||
set(kwin_presentwindows_config_SRCS presentwindows_config.cpp)
|
||||
ki18n_wrap_ui(kwin_presentwindows_config_SRCS presentwindows_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_presentwindows_config_SRCS presentwindowsconfig.kcfgc)
|
||||
if (KWIN_BUILD_KCMS)
|
||||
set(kwin_presentwindows_config_SRCS presentwindows_config.cpp)
|
||||
ki18n_wrap_ui(kwin_presentwindows_config_SRCS presentwindows_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_presentwindows_config_SRCS presentwindowsconfig.kcfgc)
|
||||
|
||||
kwin_add_effect_config(kwin_presentwindows_config ${kwin_presentwindows_config_SRCS})
|
||||
kwin_add_effect_config(kwin_presentwindows_config ${kwin_presentwindows_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_presentwindows_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
KWinEffectsInterface
|
||||
)
|
||||
target_link_libraries(kwin_presentwindows_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
KWinEffectsInterface
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -21,16 +21,18 @@ target_link_libraries(kwin4_effect_showfps PRIVATE
|
|||
|
||||
#######################################
|
||||
# Config
|
||||
set(kwin_showfps_config_SRCS showfps_config.cpp)
|
||||
ki18n_wrap_ui(kwin_showfps_config_SRCS showfps_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_showfps_config_SRCS showfpsconfig.kcfgc)
|
||||
if (KWIN_BUILD_KCMS)
|
||||
set(kwin_showfps_config_SRCS showfps_config.cpp)
|
||||
ki18n_wrap_ui(kwin_showfps_config_SRCS showfps_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_showfps_config_SRCS showfpsconfig.kcfgc)
|
||||
|
||||
kwin_add_effect_config(kwin_showfps_config ${kwin_showfps_config_SRCS})
|
||||
kwin_add_effect_config(kwin_showfps_config ${kwin_showfps_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_showfps_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::I18n
|
||||
Qt::DBus
|
||||
KWinEffectsInterface
|
||||
)
|
||||
target_link_libraries(kwin_showfps_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::I18n
|
||||
Qt::DBus
|
||||
KWinEffectsInterface
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -17,15 +17,17 @@ target_link_libraries(kwin4_effect_showpaint PRIVATE
|
|||
|
||||
#######################################
|
||||
# Config
|
||||
set(kwin_showpaint_config_SRCS showpaint_config.cpp)
|
||||
ki18n_wrap_ui(kwin_showpaint_config_SRCS showpaint_config.ui)
|
||||
if (KWIN_BUILD_KCMS)
|
||||
set(kwin_showpaint_config_SRCS showpaint_config.cpp)
|
||||
ki18n_wrap_ui(kwin_showpaint_config_SRCS showpaint_config.ui)
|
||||
|
||||
kwin_add_effect_config(kwin_showpaint_config ${kwin_showpaint_config_SRCS})
|
||||
kwin_add_effect_config(kwin_showpaint_config ${kwin_showpaint_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_showpaint_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
)
|
||||
target_link_libraries(kwin_showpaint_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -19,16 +19,18 @@ target_link_libraries(kwin4_effect_slide PRIVATE
|
|||
|
||||
#######################################
|
||||
# Config
|
||||
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)
|
||||
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)
|
||||
|
||||
kwin_add_effect_config(kwin_slide_config ${kwin_slide_config_SRCS})
|
||||
kwin_add_effect_config(kwin_slide_config ${kwin_slide_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_slide_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::I18n
|
||||
Qt::DBus
|
||||
KWinEffectsInterface
|
||||
)
|
||||
target_link_libraries(kwin_slide_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::I18n
|
||||
Qt::DBus
|
||||
KWinEffectsInterface
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -22,17 +22,19 @@ target_link_libraries(kwin4_effect_thumbnailaside PRIVATE
|
|||
|
||||
#######################################
|
||||
# Config
|
||||
set(kwin_thumbnailaside_config_SRCS thumbnailaside_config.cpp)
|
||||
ki18n_wrap_ui(kwin_thumbnailaside_config_SRCS thumbnailaside_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_thumbnailaside_config_SRCS thumbnailasideconfig.kcfgc)
|
||||
if (KWIN_BUILD_KCMS)
|
||||
set(kwin_thumbnailaside_config_SRCS thumbnailaside_config.cpp)
|
||||
ki18n_wrap_ui(kwin_thumbnailaside_config_SRCS thumbnailaside_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_thumbnailaside_config_SRCS thumbnailasideconfig.kcfgc)
|
||||
|
||||
kwin_add_effect_config(kwin_thumbnailaside_config ${kwin_thumbnailaside_config_SRCS})
|
||||
kwin_add_effect_config(kwin_thumbnailaside_config ${kwin_thumbnailaside_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_thumbnailaside_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
KWinEffectsInterface
|
||||
)
|
||||
target_link_libraries(kwin_thumbnailaside_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
KWinEffectsInterface
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -24,17 +24,19 @@ target_link_libraries(kwin4_effect_trackmouse PRIVATE
|
|||
|
||||
#######################################
|
||||
# Config
|
||||
set(kwin_trackmouse_config_SRCS trackmouse_config.cpp)
|
||||
ki18n_wrap_ui(kwin_trackmouse_config_SRCS trackmouse_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_trackmouse_config_SRCS trackmouseconfig.kcfgc)
|
||||
if (KWIN_BUILD_KCMS)
|
||||
set(kwin_trackmouse_config_SRCS trackmouse_config.cpp)
|
||||
ki18n_wrap_ui(kwin_trackmouse_config_SRCS trackmouse_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_trackmouse_config_SRCS trackmouseconfig.kcfgc)
|
||||
|
||||
kwin_add_effect_config(kwin_trackmouse_config ${kwin_trackmouse_config_SRCS})
|
||||
kwin_add_effect_config(kwin_trackmouse_config ${kwin_trackmouse_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_trackmouse_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
KWinEffectsInterface
|
||||
)
|
||||
target_link_libraries(kwin_trackmouse_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
KWinEffectsInterface
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -19,16 +19,18 @@ target_link_libraries(kwin4_effect_wobblywindows PRIVATE
|
|||
|
||||
#######################################
|
||||
# Config
|
||||
set(kwin_wobblywindows_config_SRCS wobblywindows_config.cpp)
|
||||
ki18n_wrap_ui(kwin_wobblywindows_config_SRCS wobblywindows_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_wobblywindows_config_SRCS wobblywindowsconfig.kcfgc)
|
||||
if (KWIN_BUILD_KCMS)
|
||||
set(kwin_wobblywindows_config_SRCS wobblywindows_config.cpp)
|
||||
ki18n_wrap_ui(kwin_wobblywindows_config_SRCS wobblywindows_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_wobblywindows_config_SRCS wobblywindowsconfig.kcfgc)
|
||||
|
||||
kwin_add_effect_config(kwin_wobblywindows_config ${kwin_wobblywindows_config_SRCS})
|
||||
kwin_add_effect_config(kwin_wobblywindows_config ${kwin_wobblywindows_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_wobblywindows_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::I18n
|
||||
Qt::DBus
|
||||
KWinEffectsInterface
|
||||
)
|
||||
target_link_libraries(kwin_wobblywindows_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::I18n
|
||||
Qt::DBus
|
||||
KWinEffectsInterface
|
||||
)
|
||||
endif()
|
||||
|
|
|
@ -34,17 +34,19 @@ endif()
|
|||
|
||||
#######################################
|
||||
# Config
|
||||
set(kwin_zoom_config_SRCS zoom_config.cpp)
|
||||
ki18n_wrap_ui(kwin_zoom_config_SRCS zoom_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_zoom_config_SRCS zoomconfig.kcfgc)
|
||||
if (KWIN_BUILD_KCMS)
|
||||
set(kwin_zoom_config_SRCS zoom_config.cpp)
|
||||
ki18n_wrap_ui(kwin_zoom_config_SRCS zoom_config.ui)
|
||||
kconfig_add_kcfg_files(kwin_zoom_config_SRCS zoomconfig.kcfgc)
|
||||
|
||||
kwin_add_effect_config(kwin_zoom_config ${kwin_zoom_config_SRCS})
|
||||
kwin_add_effect_config(kwin_zoom_config ${kwin_zoom_config_SRCS})
|
||||
|
||||
target_link_libraries(kwin_zoom_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
KWinEffectsInterface
|
||||
)
|
||||
target_link_libraries(kwin_zoom_config
|
||||
KF5::ConfigWidgets
|
||||
KF5::CoreAddons
|
||||
KF5::GlobalAccel
|
||||
KF5::I18n
|
||||
KF5::XmlGui
|
||||
KWinEffectsInterface
|
||||
)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue