Warning, /network/kdeconnect-kde/smsapp/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 set(smshelper_debug_file_SRCS)
0002 ecm_qt_declare_logging_category(
0003     smshelper_debug_file_SRCS HEADER smshelper_debug.h
0004     IDENTIFIER KDECONNECT_SMS_SMSHELPER CATEGORY_NAME kdeconnect.sms.smshelper
0005     DEFAULT_SEVERITY Warning
0006     EXPORT kdeconnect-kde DESCRIPTION "kdeconnect (smshelper)")
0007 
0008 set(sms_debug_files_SRCS)
0009 ecm_qt_declare_logging_category(
0010     sms_debug_files_SRCS HEADER sms_conversation_debug.h
0011     IDENTIFIER KDECONNECT_SMS_CONVERSATION_MODEL CATEGORY_NAME kdeconnect.sms.conversation
0012     DEFAULT_SEVERITY Warning
0013     EXPORT kdeconnect-kde DESCRIPTION "kdeconnect (sms conversation model)")
0014 
0015 ecm_qt_declare_logging_category(
0016     sms_debug_files_SRCS HEADER sms_conversations_list_debug.h
0017     IDENTIFIER KDECONNECT_SMS_CONVERSATIONS_LIST_MODEL CATEGORY_NAME kdeconnect.sms.conversations_list
0018     DEFAULT_SEVERITY Warning
0019     EXPORT kdeconnect-kde DESCRIPTION "kdeconnect (sms conversations list)")
0020 
0021 add_library(kdeconnectsmshelper STATIC
0022     smshelper.cpp
0023     gsmasciimap.cpp
0024     ${smshelper_debug_file_SRCS}
0025 )
0026 
0027 target_include_directories(kdeconnectsmshelper PUBLIC ${CMAKE_SOURCE_DIR})
0028 
0029 target_link_libraries(kdeconnectsmshelper
0030     PUBLIC
0031     Qt::Core
0032     Qt::DBus
0033     KF5::People
0034     Qt::Qml
0035     kdeconnectinterfaces
0036 )
0037 
0038 qt5_add_resources(kdeconnect_custom_icons_SRCS ${CMAKE_SOURCE_DIR}/icons/custom_icons.qrc)
0039 
0040 add_executable(kdeconnect-sms
0041     main.cpp
0042     conversationlistmodel.cpp
0043     conversationmodel.cpp
0044     conversationssortfilterproxymodel.cpp
0045     resources.qrc
0046     thumbnailsprovider.cpp
0047     attachmentinfo.cpp
0048     ${kdeconnect_custom_icons_SRCS}
0049     ${sms_debug_files_SRCS})
0050 
0051 target_link_libraries(kdeconnect-sms
0052     kdeconnectsmshelper
0053     kdeconnectinterfaces
0054     kdeconnectversion
0055     Qt::Quick
0056     Qt::QuickControls2
0057     Qt::Widgets
0058     KF5::CoreAddons
0059     KF5::DBusAddons
0060     KF5::I18n
0061     KF5::People
0062     KF5::KCMUtils
0063     )
0064 
0065 install(TARGETS kdeconnect-sms ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0066 install(PROGRAMS org.kde.kdeconnect.sms.desktop DESTINATION ${KDE_INSTALL_APPDIR})