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-02-22 10:52:13 +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-22 10:52:13 +00:00
|
|
|
kconfig_add_kcfg_files(kcm_kwinoptions_PART_SRCS kwinoptions_settings.kcfgc GENERATE_MOC)
|
|
|
|
|
|
|
|
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})
|
2015-01-26 10:41:09 +00:00
|
|
|
target_link_libraries(kcm_kwinoptions 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}
|
|
|
|
)
|