2014-04-30 06:55:58 +00:00
|
|
|
# KI18N Translation Domain for this library
|
|
|
|
add_definitions(-DTRANSLATION_DOMAIN=\"kcm_kwintabbox\")
|
|
|
|
|
2014-04-04 09:03:45 +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
|
|
|
|
main.cpp
|
2012-04-09 16:59:26 +00:00
|
|
|
layoutpreview.cpp
|
2011-11-10 13:28:06 +00:00
|
|
|
thumbnailitem.cpp
|
2014-03-18 11:08:14 +00:00
|
|
|
${KWIN_SOURCE_DIR}/tabbox/tabboxconfig.cpp
|
2012-01-14 10:49:08 +00:00
|
|
|
)
|
2009-09-13 11:36:45 +00:00
|
|
|
|
2014-04-30 06:55:58 +00:00
|
|
|
ki18n_wrap_ui( kcm_kwintabbox_PART_SRCS main.ui )
|
2014-05-22 13:36:17 +00:00
|
|
|
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
|
|
|
|
Qt5::Quick
|
|
|
|
KF5::KCMUtils
|
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
|
|
|
|
KF5::Service
|
|
|
|
KF5::NewStuff
|
2016-12-26 16:41:06 +00:00
|
|
|
KF5::Package
|
2014-04-04 09:03:45 +00:00
|
|
|
XCB::XCB
|
|
|
|
kwin4_effect_builtins
|
|
|
|
)
|
2009-09-13 11:36:45 +00:00
|
|
|
|
|
|
|
install(TARGETS kcm_kwintabbox DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
|
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
install( FILES kwintabbox.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
2011-11-10 13:28:06 +00:00
|
|
|
install( FILES thumbnails/konqueror.png thumbnails/kmail.png thumbnails/systemsettings.png thumbnails/dolphin.png DESTINATION ${DATA_INSTALL_DIR}/kwin/kcm_kwintabbox)
|
2019-05-17 16:56:27 +00:00
|
|
|
install( FILES kwinswitcher.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR} )
|