2014-04-30 06:55:58 +00:00
|
|
|
# KI18N Translation Domain for this library
|
|
|
|
add_definitions(-DTRANSLATION_DOMAIN=\"kcmkwindecoration\")
|
|
|
|
|
2014-10-31 06:53:04 +00:00
|
|
|
add_subdirectory(declarative-plugin)
|
2010-04-16 21:03:34 +00:00
|
|
|
|
2010-01-19 13:44:22 +00:00
|
|
|
set(kcm_kwindecoration_PART_SRCS
|
2014-10-31 06:53:04 +00:00
|
|
|
kcm.cpp
|
2010-01-19 13:44:22 +00:00
|
|
|
buttons.cpp
|
2014-10-31 06:53:04 +00:00
|
|
|
# buttonsconfigdialog.cpp
|
2010-01-19 13:44:22 +00:00
|
|
|
configdialog.cpp
|
|
|
|
decorationmodel.cpp
|
|
|
|
)
|
|
|
|
|
2014-04-30 06:55:58 +00:00
|
|
|
ki18n_wrap_ui(kcm_kwindecoration_PART_SRCS
|
2010-04-21 18:18:45 +00:00
|
|
|
auroraeconfig.ui
|
|
|
|
buttons.ui
|
|
|
|
config.ui
|
|
|
|
decoration.ui
|
|
|
|
)
|
2010-01-19 13:44:22 +00:00
|
|
|
|
2013-11-15 12:37:47 +00:00
|
|
|
add_library(kcm_kwindecoration MODULE ${kcm_kwindecoration_PART_SRCS})
|
2013-10-01 12:00:24 +00:00
|
|
|
target_link_libraries(kcm_kwindecoration
|
2014-10-31 06:53:04 +00:00
|
|
|
KDecoration2::KDecoration
|
2013-10-01 12:00:24 +00:00
|
|
|
Qt5::DBus
|
|
|
|
Qt5::Quick
|
2014-10-31 06:53:04 +00:00
|
|
|
Qt5::QuickWidgets
|
2013-10-01 12:00:24 +00:00
|
|
|
Qt5::UiTools
|
2013-12-11 20:41:47 +00:00
|
|
|
KF5::Completion
|
2014-03-18 06:41:30 +00:00
|
|
|
KF5::ConfigWidgets
|
2013-12-11 20:41:47 +00:00
|
|
|
KF5::I18n
|
|
|
|
KF5::NewStuff
|
2014-10-31 06:53:04 +00:00
|
|
|
KF5::WindowSystem
|
|
|
|
KF5::Service
|
2013-10-01 12:00:24 +00:00
|
|
|
)
|
2007-04-29 17:35:43 +00:00
|
|
|
install(TARGETS kcm_kwindecoration DESTINATION ${PLUGIN_INSTALL_DIR} )
|
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
|
|
|
install( FILES kwindecoration.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
|
2012-07-27 08:10:28 +00:00
|
|
|
install( FILES
|
|
|
|
qml/main.qml
|
|
|
|
DESTINATION ${DATA_INSTALL_DIR}/kwin/kcm_kwindecoration)
|