kwin/kcmkwin/kwintabbox/CMakeLists.txt
Martin Gräßlin 4da220adef [kcmkwin/tabbox] Use BuiltInEffects to find CoverSwitch and FlipSwitch
Instead of using the KServiceTypeTrader we use the BuiltInEffects to get
the name of CoverSwitch and FlipSwitch.

Showing the configuration dialog is migrated to KPluginTrader which fixes
the showing of the dialog.
2014-04-28 13:51:30 +02:00

34 lines
1,011 B
CMake

include_directories( ${KWIN_SOURCE_DIR}/effects ${KWIN_SOURCE_DIR}/tabbox ${KWIN_SOURCE_DIR})
########### next target ###############
set(kcm_kwintabbox_PART_SRCS
main.cpp
layoutpreview.cpp
thumbnailitem.cpp
${KWIN_SOURCE_DIR}/tabbox/tabboxconfig.cpp
)
qt5_wrap_ui( kcm_kwintabbox_PART_SRCS main.ui )
add_library(kcm_kwintabbox MODULE ${kcm_kwintabbox_PART_SRCS})
target_link_libraries(kcm_kwintabbox
Qt5::Quick
KF5::KCMUtils
KF5::Completion
KF5::GlobalAccel
KF5::I18n
KF5::Service
KF5::NewStuff
XCB::XCB
kwin4_effect_builtins
)
install(TARGETS kcm_kwintabbox DESTINATION ${PLUGIN_INSTALL_DIR} )
########### install files ###############
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 ${CONFIG_INSTALL_DIR} )