2007-04-29 17:35:43 +00:00
|
|
|
########### next target ###############
|
2014-04-30 06:55:58 +00:00
|
|
|
# KI18N Translation Domain for this library
|
|
|
|
add_definitions(-DTRANSLATION_DOMAIN=\"kcmkwm\")
|
2007-04-29 17:35:43 +00:00
|
|
|
|
2019-09-17 09:15:35 +00:00
|
|
|
set(kcm_kwinoptions_PART_SRCS
|
2020-01-07 16:26:28 +00:00
|
|
|
${KWin_SOURCE_DIR}/effects/effect_builtins.cpp
|
2019-09-17 09:15:35 +00:00
|
|
|
main.cpp
|
|
|
|
mouse.cpp
|
|
|
|
windows.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
ki18n_wrap_ui(kcm_kwinoptions_PART_SRCS
|
|
|
|
actions.ui
|
|
|
|
advanced.ui
|
|
|
|
focus.ui
|
|
|
|
mouse.ui
|
|
|
|
moving.ui
|
|
|
|
)
|
|
|
|
|
2020-02-05 10:46:29 +00:00
|
|
|
kconfig_add_kcfg_files(kcm_kwinoptions_PART_SRCS kwinoptions_settings.kcfgc GENERATE_MOC)
|
2020-08-28 16:43:51 +00:00
|
|
|
kconfig_add_kcfg_files(kcm_kwinoptions_PART_SRCS kwinoptions_kdeglobals_settings.kcfgc GENERATE_MOC)
|
2020-02-05 10:46:29 +00:00
|
|
|
|
2020-01-07 16:26:28 +00:00
|
|
|
qt5_add_dbus_interface(kcm_kwinoptions_PART_SRCS ${KWin_SOURCE_DIR}/org.kde.kwin.Effects.xml kwin_effects_interface)
|
2013-11-15 12:37:47 +00:00
|
|
|
add_library(kcm_kwinoptions MODULE ${kcm_kwinoptions_PART_SRCS})
|
2020-07-22 09:01:55 +00:00
|
|
|
target_link_libraries(kcm_kwinoptions kwin Qt5::DBus KF5::Completion KF5::I18n KF5::ConfigWidgets KF5::Service KF5::WindowSystem)
|
2019-09-17 09:15:35 +00:00
|
|
|
install(TARGETS kcm_kwinoptions DESTINATION ${PLUGIN_INSTALL_DIR})
|
2007-04-29 17:35:43 +00:00
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
2019-09-17 09:15:35 +00:00
|
|
|
install(
|
|
|
|
FILES
|
|
|
|
kwinactions.desktop
|
|
|
|
kwinadvanced.desktop
|
|
|
|
kwinfocus.desktop
|
|
|
|
kwinmoving.desktop
|
|
|
|
kwinoptions.desktop
|
|
|
|
DESTINATION
|
|
|
|
${SERVICES_INSTALL_DIR}
|
|
|
|
)
|