2020-05-26 17:55:47 +01:00
|
|
|
set(debug_file_SRCS)
|
2023-04-25 12:39:34 +01:00
|
|
|
ecm_qt_declare_logging_category(debug_file_SRCS
|
|
|
|
HEADER plugin_share_debug.h
|
|
|
|
IDENTIFIER KDECONNECT_PLUGIN_SHARE
|
|
|
|
CATEGORY_NAME kdeconnect.plugin.share
|
2020-05-26 17:55:47 +01:00
|
|
|
DEFAULT_SEVERITY Warning
|
2023-04-25 12:39:34 +01:00
|
|
|
EXPORT kdeconnect-kde
|
|
|
|
DESCRIPTION "kdeconnect (plugin share)"
|
|
|
|
)
|
2020-05-26 17:55:47 +01:00
|
|
|
|
2013-11-23 00:39:10 +00:00
|
|
|
set(kdeconnect_share_SRCS
|
|
|
|
shareplugin.cpp
|
2020-05-26 17:55:47 +01:00
|
|
|
${debug_file_SRCS}
|
2013-11-23 00:39:10 +00:00
|
|
|
)
|
|
|
|
|
2021-06-28 19:33:52 +01:00
|
|
|
kdeconnect_add_plugin(kdeconnect_share SOURCES ${kdeconnect_share_SRCS})
|
2013-11-23 00:39:10 +00:00
|
|
|
|
2014-09-22 01:37:10 +01:00
|
|
|
target_link_libraries(kdeconnect_share
|
|
|
|
kdeconnectcore
|
2022-10-29 15:51:41 +01:00
|
|
|
Qt::DBus
|
2023-04-15 11:57:52 +01:00
|
|
|
KF${QT_MAJOR_VERSION}::Notifications
|
|
|
|
KF${QT_MAJOR_VERSION}::I18n
|
|
|
|
KF${QT_MAJOR_VERSION}::GuiAddons
|
|
|
|
KF${QT_MAJOR_VERSION}::KIOWidgets
|
|
|
|
KF${QT_MAJOR_VERSION}::Service
|
2014-09-22 01:37:10 +01:00
|
|
|
)
|
2013-11-23 00:39:10 +00:00
|
|
|
|
|
|
|
#######################################
|
|
|
|
# Config
|
|
|
|
|
2021-11-18 10:05:09 +00:00
|
|
|
kcoreaddons_add_plugin(kdeconnect_share_config SOURCES share_config.cpp INSTALL_NAMESPACE "kdeconnect/kcms")
|
2013-11-23 00:39:10 +00:00
|
|
|
|
2021-11-18 10:05:09 +00:00
|
|
|
ki18n_wrap_ui(kdeconnect_share_config share_config.ui)
|
2023-04-25 12:39:34 +01:00
|
|
|
target_link_libraries(kdeconnect_share_config
|
2015-03-14 04:19:39 +00:00
|
|
|
kdeconnectpluginkcm
|
2023-04-15 11:57:52 +01:00
|
|
|
KF${QT_MAJOR_VERSION}::I18n
|
|
|
|
KF${QT_MAJOR_VERSION}::CoreAddons
|
|
|
|
KF${QT_MAJOR_VERSION}::ConfigWidgets
|
|
|
|
KF${QT_MAJOR_VERSION}::KIOWidgets
|
|
|
|
KF${QT_MAJOR_VERSION}::Notifications
|
2013-11-23 00:39:10 +00:00
|
|
|
)
|