2013-10-01 05:16:56 +00:00
|
|
|
include_directories( ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/tabbox ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/)
|
2009-09-13 11:36:45 +00:00
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
2012-02-21 22:06:15 +00:00
|
|
|
ADD_DEFINITIONS(-DTABBOX_KCM)
|
|
|
|
|
2009-09-13 11:36:45 +00:00
|
|
|
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
|
2009-09-13 11:36:45 +00:00
|
|
|
${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/tabbox/clientmodel.cpp
|
2011-10-30 15:07:14 +00:00
|
|
|
${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/tabbox/declarative.cpp
|
2009-09-13 11:36:45 +00:00
|
|
|
${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/tabbox/desktopmodel.cpp
|
|
|
|
${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/tabbox/tabboxconfig.cpp
|
|
|
|
${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/tabbox/tabboxhandler.cpp
|
2012-01-14 10:49:08 +00:00
|
|
|
)
|
2009-09-13 11:36:45 +00:00
|
|
|
|
|
|
|
kde4_add_ui_files( kcm_kwintabbox_PART_SRCS main.ui )
|
|
|
|
|
|
|
|
kde4_add_plugin(kcm_kwintabbox ${kcm_kwintabbox_PART_SRCS})
|
|
|
|
|
2013-10-01 05:16:56 +00:00
|
|
|
target_link_libraries(kcm_kwintabbox
|
|
|
|
Qt5::Quick
|
|
|
|
Qt5::X11Extras
|
|
|
|
KF5::KCMUtils
|
2013-10-04 20:14:17 +00:00
|
|
|
KF5::KCompletion
|
2013-10-01 05:16:56 +00:00
|
|
|
KF5::KI18n
|
|
|
|
KF5::KIconThemes
|
2013-10-04 20:14:17 +00:00
|
|
|
KF5::KService
|
2013-10-01 05:16:56 +00:00
|
|
|
KF5::KWindowSystem
|
2013-10-15 23:36:24 +00:00
|
|
|
KF5::Plasma
|
2013-10-01 05:16:56 +00:00
|
|
|
KF5::XmlGui
|
|
|
|
${KDE4_KNEWSTUFF3_LIBS}
|
|
|
|
${KDE4Support_LIBRARIES}
|
|
|
|
${XCB_XCB_LIBRARY})
|
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-10-31 07:41:07 +00:00
|
|
|
install( FILES qml/main.qml DESTINATION ${DATA_INSTALL_DIR}/kwin/kcm_kwintabbox)
|
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)
|
2012-05-09 16:43:32 +00:00
|
|
|
install( FILES kwinswitcher.knsrc DESTINATION ${CONFIG_INSTALL_DIR} )
|