Warning, /libraries/kunifiedpush/src/distributor/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org>
0002 # SPDX-License-Identifier: BSD-2-Clause
0003
0004 add_library(KUnifiedPushDistributor STATIC)
0005
0006 qt_add_dbus_adaptor(dbus_srcs ../interfaces/org.unifiedpush.Distributor1.xml distributor.h KUnifiedPush::Distributor)
0007 qt_add_dbus_interface(dbus_srcs ../interfaces/org.unifiedpush.Connector1.xml connector1iface)
0008 qt_add_dbus_adaptor(dbus_srcs ../interfaces/org.kde.kunifiedpush.distributor.Management.xml distributor.h KUnifiedPush::Distributor)
0009 target_sources(KUnifiedPushDistributor PRIVATE
0010 abstractpushprovider.cpp
0011 abstractpushprovider.h
0012 client.cpp
0013 client.h
0014 command.cpp
0015 command.h
0016 distributor.cpp
0017 distributor.h
0018 gotifypushprovider.cpp
0019 gotifypushprovider.h
0020 message.cpp
0021 message.h
0022 mockpushprovider.cpp
0023 mockpushprovider.h
0024 nextpushprovider.cpp
0025 nextpushprovider.h
0026 ntfypushprovider.cpp
0027 serversenteventsstream.cpp
0028 serversenteventsstream.h
0029 ${dbus_srcs}
0030 )
0031 ecm_qt_declare_logging_category(KUnifiedPushDistributor
0032 HEADER logging.h
0033 IDENTIFIER Log
0034 CATEGORY_NAME org.kde.kunifiedpush.distributor
0035 DESCRIPTION "KUnifiedPush Distributor"
0036 EXPORT KUnifiedPushLogging
0037 )
0038 target_link_libraries(KUnifiedPushDistributor PUBLIC
0039 Qt::Core
0040 Qt::DBus
0041 Qt::WebSockets
0042 )
0043
0044 add_executable(kunifiedpush-distributor)
0045 target_sources(kunifiedpush-distributor PRIVATE
0046 main.cpp
0047 )
0048
0049 target_link_libraries(kunifiedpush-distributor PRIVATE KUnifiedPushDistributor)
0050
0051 install(TARGETS kunifiedpush-distributor ${INSTALL_TARGETS_DEFAULT_ARGS})
0052 install(FILES org.kde.kunifiedpush-distributor.desktop DESTINATION ${KDE_INSTALL_AUTOSTARTDIR})