2014-04-30 06:55:58 +00:00
|
|
|
# KI18N Translation Domain for this library
|
|
|
|
add_definitions(-DTRANSLATION_DOMAIN=\"kcm_kwintabbox\")
|
|
|
|
|
2019-09-17 09:15:35 +00:00
|
|
|
include_directories(${KWIN_SOURCE_DIR}/effects ${KWIN_SOURCE_DIR}/tabbox ${KWIN_SOURCE_DIR})
|
2009-09-13 11:36:45 +00:00
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
|
|
|
set(kcm_kwintabbox_PART_SRCS
|
2019-09-17 09:15:35 +00:00
|
|
|
${KWIN_SOURCE_DIR}/tabbox/tabboxconfig.cpp
|
2012-04-09 16:59:26 +00:00
|
|
|
layoutpreview.cpp
|
2019-09-17 09:15:35 +00:00
|
|
|
main.cpp
|
2011-11-10 13:28:06 +00:00
|
|
|
thumbnailitem.cpp
|
2012-01-14 10:49:08 +00:00
|
|
|
)
|
2009-09-13 11:36:45 +00:00
|
|
|
|
2019-09-17 09:15:35 +00:00
|
|
|
ki18n_wrap_ui(kcm_kwintabbox_PART_SRCS main.ui)
|
|
|
|
qt5_add_dbus_interface(kcm_kwintabbox_PART_SRCS ${KWIN_SOURCE_DIR}/org.kde.kwin.Effects.xml kwin_effects_interface)
|
2009-09-13 11:36:45 +00:00
|
|
|
|
2013-11-15 12:37:47 +00:00
|
|
|
add_library(kcm_kwintabbox MODULE ${kcm_kwintabbox_PART_SRCS})
|
2009-09-13 11:36:45 +00:00
|
|
|
|
2013-10-01 05:16:56 +00:00
|
|
|
target_link_libraries(kcm_kwintabbox
|
2019-09-18 10:31:02 +00:00
|
|
|
Qt5::Quick
|
|
|
|
|
2013-12-11 20:41:47 +00:00
|
|
|
KF5::Completion
|
2013-12-09 08:33:58 +00:00
|
|
|
KF5::GlobalAccel
|
2013-12-11 20:41:47 +00:00
|
|
|
KF5::I18n
|
2019-09-17 09:15:35 +00:00
|
|
|
KF5::KCMUtils
|
2013-12-11 20:41:47 +00:00
|
|
|
KF5::NewStuff
|
2016-12-26 16:41:06 +00:00
|
|
|
KF5::Package
|
2019-09-17 09:15:35 +00:00
|
|
|
KF5::Service
|
2019-09-18 10:31:02 +00:00
|
|
|
|
2014-04-04 09:03:45 +00:00
|
|
|
XCB::XCB
|
2019-09-18 10:31:02 +00:00
|
|
|
|
2014-04-04 09:03:45 +00:00
|
|
|
kwin4_effect_builtins
|
|
|
|
)
|
2009-09-13 11:36:45 +00:00
|
|
|
|
2019-09-17 09:15:35 +00:00
|
|
|
install(TARGETS kcm_kwintabbox DESTINATION ${PLUGIN_INSTALL_DIR} )
|
2009-09-13 11:36:45 +00:00
|
|
|
|
|
|
|
########### install files ###############
|
2019-09-17 09:15:35 +00:00
|
|
|
install(FILES kwintabbox.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
|
|
|
install(FILES thumbnails/konqueror.png thumbnails/kmail.png thumbnails/systemsettings.png thumbnails/dolphin.png DESTINATION ${DATA_INSTALL_DIR}/kwin/kcm_kwintabbox)
|
|
|
|
install(FILES kwinswitcher.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR})
|