2009-09-13 11:36:45 +00:00
|
|
|
include_directories( ${KDEBASE_WORKSPACE_SOURCE_DIR}/kwin/tabbox )
|
|
|
|
|
|
|
|
########### 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
|
|
|
|
layoutconfig.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})
|
|
|
|
|
2012-02-21 22:06:15 +00:00
|
|
|
target_link_libraries(kcm_kwintabbox ${KDE4_KDEUI_LIBS} ${KDE4_KCMUTILS_LIBS} ${KDE4_PLASMA_LIBS} ${X11_LIBRARIES} kephal ${QT_QTDECLARATIVE_LIBRARY} kdeclarative)
|
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)
|