Warning, /network/ruqola/src/core/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # SPDX-FileCopyrightText: 2020-2023 Laurent Montel <montel@kde.org> 0002 # SPDX-License-Identifier: BSD-3-Clause 0003 add_library(libruqolacore) 0004 0005 target_sources(libruqolacore PRIVATE 0006 abstractwebsocket.cpp 0007 abstractwebsocket.h 0008 accountmanager.cpp 0009 accountmanager.h 0010 accountroomsettings.cpp 0011 accountroomsettings.h 0012 attachments/fileattachments.cpp 0013 attachments/fileattachments.h 0014 attachments/file.cpp 0015 attachments/file.h 0016 authenticationinfo.cpp 0017 authenticationinfo.h 0018 authenticationmanager.cpp 0019 authenticationmanager.h 0020 autotranslate/autotranslatelanguage.cpp 0021 autotranslate/autotranslatelanguage.h 0022 autotranslate/autotranslatelanguages.cpp 0023 autotranslate/autotranslatelanguages.h 0024 0025 avatarmanager.cpp 0026 avatarmanager.h 0027 away/awaymanager.cpp 0028 away/awaymanager.h 0029 0030 bannerinfo/bannerinfo.h 0031 bannerinfo/bannerinfo.cpp 0032 bannerinfo/bannerinfos.h 0033 bannerinfo/bannerinfos.cpp 0034 0035 channelcounterinfo.cpp 0036 channelcounterinfo.h 0037 channel.cpp 0038 channel.h 0039 colors.cpp 0040 colors.h 0041 commands/command.cpp 0042 commands/command.h 0043 commands/commands.cpp 0044 commands/commands.h 0045 convertertextjob/convertertextabstractjob.cpp 0046 convertertextjob/convertertextabstractjob.h 0047 customsound/customsoundinfo.cpp 0048 customsound/customsoundinfo.h 0049 customsound/customsoundsinfo.cpp 0050 customsound/customsoundsinfo.h 0051 customsound/customsoundsmanager.cpp 0052 customsound/customsoundsmanager.h 0053 customusers/customuserstatus.cpp 0054 customusers/customuserstatuses.cpp 0055 customusers/customuserstatuses.h 0056 customusers/customuserstatus.h 0057 0058 managedevices/deviceinfo.h 0059 managedevices/deviceinfo.cpp 0060 0061 managedevices/deviceinfos.h 0062 managedevices/deviceinfos.cpp 0063 0064 ddpapi/ddpauthenticationmanager.cpp 0065 ddpapi/ddpauthenticationmanager.h 0066 ddpapi/ddpclient.cpp 0067 ddpapi/ddpclient.h 0068 ddpapi/ddpmanager.cpp 0069 ddpapi/ddpmanager.h 0070 0071 ddpapi/ddpauthenticationmanagerutils.h 0072 ddpapi/ddpauthenticationmanagerutils.cpp 0073 0074 discussions/discussion.cpp 0075 discussions/discussion.h 0076 discussions/discussions.cpp 0077 discussions/discussions.h 0078 downloadappslanguages/downloadappslanguagesinfo.cpp 0079 downloadappslanguages/downloadappslanguagesinfo.h 0080 downloadappslanguages/downloadappslanguagesjob.cpp 0081 downloadappslanguages/downloadappslanguagesjob.h 0082 downloadappslanguages/downloadappslanguagesmanager.cpp 0083 downloadappslanguages/downloadappslanguagesmanager.h 0084 downloadappslanguages/downloadappslanguagesparser.cpp 0085 downloadappslanguages/downloadappslanguagesparser.h 0086 downloadavartarurlmanager.cpp 0087 downloadavartarurlmanager.h 0088 emoticons/customemoji.cpp 0089 emoticons/customemoji.h 0090 emoticons/customemojisinfo.cpp 0091 emoticons/customemojisinfo.h 0092 emoticons/emojimanager.cpp 0093 emoticons/emojimanager.h 0094 inputtextmanager.cpp 0095 inputtextmanager.h 0096 invite/inviteinfo.cpp 0097 invite/inviteinfo.h 0098 ktexttohtmlfork/ruqolaktexttohtml.cpp 0099 ktexttohtmlfork/ruqolaktexttohtml.h 0100 ktexttohtmlfork/ruqolaktexttohtml_p.h 0101 libruqola_private_export.h 0102 listmessages.cpp 0103 listmessages.h 0104 loadrecenthistorymanager.cpp 0105 loadrecenthistorymanager.h 0106 lrucache.h 0107 licenses/licensesmanager.h 0108 licenses/licensesmanager.cpp 0109 managechannels.cpp 0110 managechannels.h 0111 managerdatapaths.cpp 0112 managerdatapaths.h 0113 messagecache.cpp 0114 messagecache.h 0115 messagequeue.cpp 0116 messagequeue.h 0117 messages/messageattachment.cpp 0118 messages/messageattachmentfield.cpp 0119 messages/messageattachmentfield.h 0120 messages/messageattachment.h 0121 messages/message.cpp 0122 messages/message.h 0123 messages/messagepinned.cpp 0124 messages/messagepinned.h 0125 messages/messagestarred.cpp 0126 messages/messagestarred.h 0127 messages/messagetranslation.cpp 0128 messages/messagetranslation.h 0129 messages/messageurl.cpp 0130 messages/messageurl.h 0131 messages/reaction.cpp 0132 messages/reaction.h 0133 messages/reactions.cpp 0134 messages/reactions.h 0135 model/accountschannelsmodel.cpp 0136 model/accountschannelsmodel.h 0137 model/admincustomemojimodel.cpp 0138 model/admincustomemojimodel.h 0139 model/admincustomsoundmodel.cpp 0140 model/admincustomsoundmodel.h 0141 model/admininvitemodel.cpp 0142 model/admininvitemodel.h 0143 model/adminoauthmodel.cpp 0144 model/adminoauthmodel.h 0145 model/permissionsmodel.cpp 0146 model/permissionsmodel.h 0147 model/adminrolesmodel.cpp 0148 model/adminrolesmodel.h 0149 model/adminroomsfilterproxymodel.cpp 0150 model/adminroomsfilterproxymodel.h 0151 model/adminroomsmodel.cpp 0152 model/adminroomsmodel.h 0153 model/adminusersmodel.cpp 0154 model/adminusersmodel.h 0155 model/autotranslatelanguagesmodel.cpp 0156 model/autotranslatelanguagesmodel.h 0157 model/bannerinfosmodel.cpp 0158 model/bannerinfosmodel.h 0159 model/bannerinfosfilterproxymodel.h 0160 model/bannerinfosfilterproxymodel.cpp 0161 model/channelcompleterfilterproxymodel.cpp 0162 model/channelcompleterfilterproxymodel.h 0163 model/channelcompletermodel.cpp 0164 model/channelcompletermodel.h 0165 model/commandsmodel.cpp 0166 model/commandsmodelfilterproxymodel.cpp 0167 model/commandsmodelfilterproxymodel.h 0168 model/commandsmodel.h 0169 model/deviceinfomodel.cpp 0170 model/deviceinfomodel.h 0171 model/searchtreebasefilterproxymodel.cpp 0172 model/searchtreebasefilterproxymodel.h 0173 model/custombasemodel.cpp 0174 model/custombasemodel.h 0175 model/directoryroomsmodel.cpp 0176 model/directoryroomsmodel.h 0177 model/directoryroomsproxymodel.cpp 0178 model/directoryroomsproxymodel.h 0179 model/directoryteamsmodel.cpp 0180 model/directoryteamsmodel.h 0181 model/directoryteamsproxymodel.cpp 0182 model/directoryteamsproxymodel.h 0183 model/directoryusersmodel.cpp 0184 model/directoryusersmodel.h 0185 model/directoryusersproxymodel.cpp 0186 model/directoryusersproxymodel.h 0187 model/discussionsfilterproxymodel.cpp 0188 model/discussionsfilterproxymodel.h 0189 model/discussionsmodel.cpp 0190 model/discussionsmodel.h 0191 model/emoticonmodel.cpp 0192 model/emoticonmodelfilterproxymodel.cpp 0193 model/emoticonmodelfilterproxymodel.h 0194 model/emoticonmodel.h 0195 model/filesforroomfilterproxymodel.cpp 0196 model/filesforroomfilterproxymodel.h 0197 model/filesforroommodel.cpp 0198 model/filesforroommodel.h 0199 model/inputcompletermodel.cpp 0200 model/inputcompletermodel.h 0201 model/listmessagesmodel.cpp 0202 model/listmessagesmodelfilterproxymodel.cpp 0203 model/listmessagesmodelfilterproxymodel.h 0204 model/listmessagesmodel.h 0205 model/loginmethodmodel.cpp 0206 model/loginmethodmodel.h 0207 model/messagesmodel.cpp 0208 model/messagesmodel.h 0209 model/notificationdesktopdurationpreferencemodel.cpp 0210 model/notificationdesktopdurationpreferencemodel.h 0211 model/notificationdesktopsoundpreferencemodel.cpp 0212 model/notificationdesktopsoundpreferencemodel.h 0213 model/notificationhistorymodel.cpp 0214 model/notificationhistorymodel.h 0215 model/notificationhistorymodelfilterproxymodel.h 0216 model/notificationhistorymodelfilterproxymodel.cpp 0217 model/notificationpreferencemodel.cpp 0218 model/notificationpreferencemodel.h 0219 model/personalaccesstokeninfosmodel.cpp 0220 model/personalaccesstokeninfosmodel.h 0221 model/personalaccesstokeninfosfilterproxymodel.cpp 0222 model/personalaccesstokeninfosfilterproxymodel.h 0223 model/rocketchataccountfilterproxymodel.cpp 0224 model/rocketchataccountfilterproxymodel.h 0225 model/rocketchataccountmodel.cpp 0226 model/rocketchataccountmodel.h 0227 model/rolesmodel.cpp 0228 model/rolesmodel.h 0229 model/roomfilterproxymodel.cpp 0230 model/roomfilterproxymodel.h 0231 model/roomlistheadingsproxymodel.cpp 0232 model/roomlistheadingsproxymodel.h 0233 model/roommodel.cpp 0234 model/roommodel.h 0235 model/searchchannelfilterproxymodel.cpp 0236 model/searchchannelfilterproxymodel.h 0237 model/searchchannelmodel.cpp 0238 model/searchchannelmodel.h 0239 model/commonmessagefilterproxymodel.cpp 0240 model/commonmessagefilterproxymodel.h 0241 model/commonmessagesmodel.cpp 0242 model/commonmessagesmodel.h 0243 model/statusmodel.cpp 0244 model/statusmodelfilterproxymodel.cpp 0245 model/statusmodelfilterproxymodel.h 0246 model/statusmodel.h 0247 model/switchchannelhistorymodel.cpp 0248 model/switchchannelhistorymodel.h 0249 model/systemmessagesmodel.cpp 0250 model/systemmessagesmodel.h 0251 model/teamcompletermodel.cpp 0252 model/teamcompletermodel.h 0253 model/teamroomcompletermodel.cpp 0254 model/teamroomcompletermodel.h 0255 model/teamroomsfilterproxymodel.cpp 0256 model/teamroomsfilterproxymodel.h 0257 model/teamroomsmodel.cpp 0258 model/teamroomsmodel.h 0259 model/threadmessagemodel.cpp 0260 model/threadmessagemodel.h 0261 model/usercompleterfilterproxymodel.cpp 0262 model/usercompleterfilterproxymodel.h 0263 model/usercompletermodel.cpp 0264 model/usercompletermodel.h 0265 model/usersforroomfilterproxymodel.cpp 0266 model/usersforroomfilterproxymodel.h 0267 model/usersforroommodel.cpp 0268 model/usersforroommodel.h 0269 model/usersinrolemodel.cpp 0270 model/usersinrolemodel.h 0271 model/usersmodel.cpp 0272 model/usersmodel.h 0273 model/servererrorinfohistorymodel.h 0274 model/servererrorinfohistorymodel.cpp 0275 model/servererrorinfohistoryfilterproxymodel.cpp 0276 model/servererrorinfohistoryfilterproxymodel.h 0277 model/moderationmodel.cpp 0278 model/moderationmodel.h 0279 0280 model/moderationmessagesmodel.h 0281 model/moderationmessagesmodel.cpp 0282 0283 notificationinfo.cpp 0284 notificationinfo.h 0285 notifications/notification.cpp 0286 notifications/notification.h 0287 notifications/notificationoptions.cpp 0288 notifications/notificationoptions.h 0289 notifications/notificationpreferences.cpp 0290 notifications/notificationpreferences.h 0291 notifications/notifierjob.cpp 0292 notifications/notifierjob.h 0293 notificationhistorymanager.cpp 0294 servererrorinfohistorymanager.cpp 0295 notificationhistorymanager.h 0296 servererrorinfohistorymanager.h 0297 oauth/oauthinfo.cpp 0298 oauth/oauthinfo.h 0299 otr/otr.cpp 0300 otr/otr.h 0301 otr/otrmanager.cpp 0302 otr/otrmanager.h 0303 otr/otrnotificationjob.cpp 0304 otr/otrnotificationjob.h 0305 ownuser/ownuser.cpp 0306 ownuser/ownuser.h 0307 ownuser/ownuserpreferences.cpp 0308 ownuser/ownuserpreferences.h 0309 parsemessageurlutils.cpp 0310 parsemessageurlutils.h 0311 permissions/permission.cpp 0312 permissions/permission.h 0313 permissions/permissionmanager.cpp 0314 permissions/permissionmanager.h 0315 permissions/permissions.cpp 0316 permissions/permissions.h 0317 0318 personalaccesstokens/personalaccesstokeninfo.h 0319 personalaccesstokens/personalaccesstokeninfo.cpp 0320 personalaccesstokens/personalaccesstokeninfos.h 0321 personalaccesstokens/personalaccesstokeninfos.cpp 0322 0323 plugins/pluginauthentication.cpp 0324 plugins/pluginauthentication.h 0325 plugins/pluginauthenticationinterface.cpp 0326 plugins/pluginauthenticationinterface.h 0327 python/ruqolacore/ruqolacore_global.h 0328 receivetypingnotificationmanager.cpp 0329 receivetypingnotificationmanager.h 0330 restauthenticationmanager.cpp 0331 restauthenticationmanager.h 0332 retentioninfo.cpp 0333 retentioninfo.h 0334 rocketchataccount.cpp 0335 rocketchataccount.h 0336 rocketchataccountsettings.cpp 0337 rocketchataccountsettings.h 0338 rocketchatbackend.cpp 0339 rocketchatbackend.h 0340 rocketchatcache.cpp 0341 rocketchatcache.h 0342 rocketchatmessage.cpp 0343 rocketchatmessage.h 0344 roles/role.cpp 0345 roles/role.h 0346 roles/roleinfo.cpp 0347 roles/roleinfo.h 0348 roles/roles.cpp 0349 roles/roles.h 0350 roles/rolesmanager.cpp 0351 roles/rolesmanager.h 0352 room.cpp 0353 room.h 0354 roominfo/roominfo.cpp 0355 roominfo/roominfo.h 0356 roominfo/roomsinfo.cpp 0357 roominfo/roomsinfo.h 0358 ruqola.cpp 0359 ruqola.h 0360 ruqolalogger.cpp 0361 ruqolalogger.h 0362 ruqolaserverconfig.cpp 0363 ruqolaserverconfig.h 0364 ruqolautils.cpp 0365 ruqolautils.h 0366 ruqolawebsocket.cpp 0367 ruqolawebsocket.h 0368 serverconfiginfo.cpp 0369 serverconfiginfo.h 0370 serverinfo.cpp 0371 serverinfo.h 0372 servicepassword.cpp 0373 servicepassword.h 0374 syntaxhighlightingmanager.cpp 0375 syntaxhighlightingmanager.h 0376 teams/teamcompleter.cpp 0377 teams/teamcompleter.h 0378 teams/teaminfo.cpp 0379 teams/teaminfo.h 0380 teams/teamroomcompleter.cpp 0381 teams/teamroomcompleter.h 0382 teams/teamroom.cpp 0383 teams/teamroom.h 0384 textconverter.cpp 0385 textconverter.h 0386 texthighlighter.cpp 0387 texthighlighter.h 0388 typingnotification.cpp 0389 typingnotification.h 0390 uploadfilemanager.cpp 0391 uploadfilemanager.h 0392 user.cpp 0393 user.h 0394 users.cpp 0395 users.h 0396 utils.cpp 0397 utils.h 0398 0399 ruqolacore.qrc 0400 0401 messages/block.h 0402 messages/block.cpp 0403 0404 videoconference/videoconferencemanager.h 0405 videoconference/videoconferencemanager.cpp 0406 0407 videoconference/videoconferencenotificationjob.h 0408 videoconference/videoconferencenotificationjob.cpp 0409 videoconference/videoconference.h 0410 videoconference/videoconference.cpp 0411 videoconference/videoconferenceinfo.h 0412 videoconference/videoconferenceinfo.cpp 0413 videoconference/updatevideoconferencemessagejob.h 0414 videoconference/updatevideoconferencemessagejob.cpp 0415 videoconference/videoconferencemessageinfomanager.h 0416 videoconference/videoconferencemessageinfomanager.cpp 0417 0418 servererrorinfo.h 0419 servererrorinfo.cpp 0420 servererrorinfohistorymanager.cpp 0421 servererrorinfohistorymanager.h 0422 0423 localdatabase/localmessagelogger.cpp 0424 localdatabase/localmessagelogger.h 0425 0426 localdatabase/localdatabasemanager.h 0427 localdatabase/localdatabasemanager.cpp 0428 0429 localdatabase/localmessagedatabase.h 0430 localdatabase/localmessagedatabase.cpp 0431 0432 localdatabase/localdatabaseutils.h 0433 localdatabase/localdatabaseutils.cpp 0434 0435 localdatabase/localroomsdatabase.h 0436 localdatabase/localroomsdatabase.cpp 0437 0438 localdatabase/localdatabasebase.h 0439 localdatabase/localdatabasebase.cpp 0440 0441 localdatabase/localaccountdatabase.h 0442 localdatabase/localaccountdatabase.cpp 0443 0444 localdatabase/globaldatabase.h 0445 localdatabase/globaldatabase.cpp 0446 0447 customemojiiconmanager.h 0448 customemojiiconmanager.cpp 0449 0450 managelocaldatabase.h 0451 managelocaldatabase.cpp 0452 0453 manageloadhistoryparsesyncmessagesutils.h 0454 manageloadhistoryparsesyncmessagesutils.cpp 0455 0456 moderation/moderationinfo.h 0457 moderation/moderationinfo.cpp 0458 moderation/moderationinfos.cpp 0459 moderation/moderationinfos.h 0460 0461 moderation/moderationreportinfo.h 0462 moderation/moderationreportinfo.cpp 0463 0464 moderationlistmessages.h 0465 moderationlistmessages.cpp 0466 ) 0467 0468 if (HAVE_TEXT_TRANSLATOR) 0469 target_sources(libruqolacore PRIVATE 0470 translatetext/translatetextjob.cpp 0471 translatetext/translatetextjob.h 0472 translatetext/translatorenginemanager.cpp 0473 translatetext/translatorenginemanager.h 0474 ) 0475 endif() 0476 0477 kconfig_add_kcfg_files(libruqolacore settings/ruqolaglobalconfig.kcfgc) 0478 0479 0480 if (UNITY_SUPPORT) 0481 target_sources(libruqolacore PRIVATE unityservicemanager.cpp unityservicemanager.h) 0482 target_link_libraries(libruqolacore Qt::DBus) 0483 endif() 0484 0485 0486 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_debug.h IDENTIFIER RUQOLA_LOG 0487 CATEGORY_NAME org.kde.ruqola DESCRIPTION "ruqola" EXPORT RUQOLA) 0488 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_message_debug.h IDENTIFIER RUQOLA_MESSAGE_LOG 0489 CATEGORY_NAME org.kde.ruqola.message DESCRIPTION "ruqola (show message debug)" EXPORT RUQOLA) 0490 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_ddpapi_debug.h IDENTIFIER RUQOLA_DDPAPI_LOG 0491 CATEGORY_NAME org.kde.ruqola.ddpapi DESCRIPTION "ruqola (ddpapi)" EXPORT RUQOLA) 0492 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_ddpapi_command_debug.h IDENTIFIER RUQOLA_DDPAPI_COMMAND_LOG 0493 CATEGORY_NAME org.kde.ruqola.ddpapi.command DESCRIPTION "ruqola (ddpapi command)" EXPORT RUQOLA) 0494 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_unknown_collectiontype_debug.h IDENTIFIER RUQOLA_UNKNOWN_COLLECTIONTYPE_LOG 0495 CATEGORY_NAME org.kde.ruqola.ddp.collectiontype DESCRIPTION "ruqola ddp unknown collection" EXPORT RUQOLA) 0496 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_typing_notification_debug.h IDENTIFIER RUQOLA_TYPING_NOTIFICATION_LOG 0497 CATEGORY_NAME org.kde.ruqola.typingnotification DESCRIPTION "ruqola typingnotification" EXPORT RUQOLA) 0498 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_completion_debug.h IDENTIFIER RUQOLA_COMPLETION_LOG 0499 CATEGORY_NAME org.kde.ruqola.completion DESCRIPTION "ruqola (completion)" EXPORT RUQOLA) 0500 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_notification_debug.h IDENTIFIER RUQOLA_NOTIFICATION_LOG 0501 CATEGORY_NAME org.kde.ruqola.notification DESCRIPTION "ruqola notification" EXPORT RUQOLA) 0502 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_commands_debug.h IDENTIFIER RUQOLA_COMMANDS_LOG 0503 CATEGORY_NAME org.kde.ruqola.commands DESCRIPTION "ruqola command" EXPORT RUQOLA) 0504 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_rooms_debug.h IDENTIFIER RUQOLA_ROOMS_LOG 0505 CATEGORY_NAME org.kde.ruqola.rooms DESCRIPTION "ruqola rooms" EXPORT RUQOLA) 0506 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_custom_sounds_debug.h IDENTIFIER RUQOLA_CUSTOMSOUNDS_LOG 0507 CATEGORY_NAME org.kde.ruqola.customsounds DESCRIPTION "ruqola custom sounds" EXPORT RUQOLA) 0508 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_away_debug.h IDENTIFIER RUQOLA_AWAY_LOG 0509 CATEGORY_NAME org.kde.ruqola.away DESCRIPTION "ruqola away manager" EXPORT RUQOLA) 0510 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_texttohtml_debug.h IDENTIFIER RUQOLA_TEXTTOHTML_LOG 0511 CATEGORY_NAME org.kde.ruqola.texttohtml DESCRIPTION "ruqola text to html support" EXPORT RUQOLA) 0512 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_specialwarning_debug.h IDENTIFIER RUQOLA_SPECIALWARNING_LOG 0513 CATEGORY_NAME org.kde.ruqola.specialwarning DESCRIPTION "ruqola special warning" EXPORT RUQOLA) 0514 0515 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_thread_message_debug.h IDENTIFIER RUQOLA_THREAD_MESSAGE_LOG 0516 CATEGORY_NAME org.kde.ruqola.threadmessages DESCRIPTION "ruqola thread message" EXPORT RUQOLA) 0517 0518 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_translation_debug.h IDENTIFIER RUQOLA_TRANSLATION_LOG 0519 CATEGORY_NAME org.kde.ruqola.translation DESCRIPTION "ruqola translation" EXPORT RUQOLA) 0520 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_password_core_debug.h IDENTIFIER RUQOLA_PASSWORD_CORE_LOG 0521 CATEGORY_NAME org.kde.ruqola.password DESCRIPTION "ruqola password support" EXPORT RUQOLA) 0522 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_reconnect_core_debug.h IDENTIFIER RUQOLA_RECONNECT_LOG 0523 CATEGORY_NAME org.kde.ruqola.reconnect DESCRIPTION "ruqola reconnect support" EXPORT RUQOLA) 0524 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_videoconference_core_debug.h IDENTIFIER RUQOLA_VIDEO_CONFERENCE_LOG 0525 CATEGORY_NAME org.kde.ruqola.videoconference DESCRIPTION "ruqola video conference support" EXPORT RUQOLA) 0526 0527 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_database_debug.h IDENTIFIER RUQOLA_DATABASE_LOG 0528 CATEGORY_NAME org.kde.ruqola.database DESCRIPTION "ruqola database support" EXPORT RUQOLA) 0529 0530 ecm_qt_declare_logging_category(libruqolacore_debug_SRCS HEADER ruqola_loadhistory_debug.h IDENTIFIER RUQOLA_LOAD_HISTORY_LOG 0531 CATEGORY_NAME org.kde.ruqola.loadhistory DESCRIPTION "ruqola load history" EXPORT RUQOLA) 0532 0533 target_sources(libruqolacore PRIVATE ${libruqolacore_debug_SRCS}) 0534 0535 ruqola_target_precompile_headers(libruqolacore PUBLIC ../../ruqola_pch.h) 0536 if (COMPILE_WITH_UNITY_CMAKE_SUPPORT) 0537 set_target_properties(libruqolacore PROPERTIES UNITY_BUILD ON) 0538 endif() 0539 0540 generate_export_header(libruqolacore BASE_NAME libruqolacore) 0541 0542 if (HAVE_SOLID) 0543 target_link_libraries(libruqolacore KF${KF_MAJOR_VERSION}::Solid) 0544 endif() 0545 0546 if (HAVE_NETWORKMANAGER) 0547 target_link_libraries(libruqolacore KF${KF_MAJOR_VERSION}::NetworkManagerQt) 0548 endif() 0549 0550 target_link_libraries(libruqolacore 0551 Qt::Core 0552 Qt::Gui 0553 Qt::Sql 0554 Qt::WebSockets 0555 Qt::Network 0556 Qt::NetworkAuth 0557 KF${KF_MAJOR_VERSION}::CoreAddons 0558 KF${KF_MAJOR_VERSION}::I18n 0559 KF${KF_MAJOR_VERSION}::Notifications 0560 KF${KF_MAJOR_VERSION}::SyntaxHighlighting 0561 librocketchatrestapi-qt 0562 KF${KF_MAJOR_VERSION}::ConfigGui 0563 KF${KF_MAJOR_VERSION}::ConfigWidgets 0564 KF${KF_MAJOR_VERSION}::IdleTime 0565 KF${KF_MAJOR_VERSION}::WindowSystem 0566 ) 0567 0568 if (HAVE_TEXT_TRANSLATOR) 0569 target_link_libraries(libruqolacore 0570 KF${KF_MAJOR_VERSION}::TextTranslator 0571 ) 0572 endif() 0573 0574 if (HAVE_TEXT_AUTOCORRECTION) 0575 target_link_libraries(libruqolacore 0576 KF${KF_MAJOR_VERSION}::TextAutoCorrection 0577 ) 0578 endif() 0579 if (HAVE_TEXT_AUTOCORRECTION_WIDGETS) 0580 target_link_libraries(libruqolacore 0581 KF${KF_MAJOR_VERSION}::TextAutoCorrectionWidgets 0582 ) 0583 endif() 0584 0585 if (HAVE_TEXT_UTILS) 0586 target_link_libraries(libruqolacore 0587 KF${KF_MAJOR_VERSION}::TextUtils 0588 ) 0589 endif() 0590 0591 if (WIN32 OR APPLE) 0592 target_link_libraries(libruqolacore KF${KF_MAJOR_VERSION}::IconThemes) 0593 endif() 0594 if (QT_MAJOR_VERSION STREQUAL "6") 0595 target_link_libraries(libruqolacore qt6keychain) 0596 else() 0597 target_link_libraries(libruqolacore qt5keychain) 0598 endif() 0599 target_include_directories(libruqolacore PRIVATE ${QTKEYCHAIN_INCLUDE_DIRS}) 0600 0601 if (TARGET KF${KF_MAJOR_VERSION}::TextEmoticonsCore) 0602 target_link_libraries(libruqolacore KF${KF_MAJOR_VERSION}::TextEmoticonsCore) 0603 endif() 0604 0605 if (QT_MAJOR_VERSION STREQUAL "6") 0606 target_link_libraries(libruqolacore KF6::StatusNotifierItem) 0607 endif() 0608 0609 set_target_properties(libruqolacore 0610 PROPERTIES OUTPUT_NAME ruqolacore VERSION ${RUQOLA_LIB_VERSION} SOVERSION ${RUQOLA_LIB_SOVERSION} 0611 ) 0612 0613 if (BUILD_TESTING) 0614 add_subdirectory(autotests) 0615 add_subdirectory(localdatabase/autotests) 0616 endif() 0617 0618 install(TARGETS libruqolacore ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP) 0619 0620 if(OPTION_BUILD_PYTHON_BINDINGS) 0621 add_subdirectory(python) 0622 endif() 0623