Warning, /pim/kube/framework/src/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001
0002 find_package(Qt5 COMPONENTS REQUIRED Core Concurrent Quick Qml WebEngineWidgets Test WebEngine Gui)
0003 find_package(KF5Mime 4.87.0 CONFIG REQUIRED)
0004 find_package(KF5CalendarCore 5.12.2 CONFIG REQUIRED)
0005 find_package(Sink 0.9.0 CONFIG REQUIRED)
0006 find_package(KAsync CONFIG REQUIRED)
0007 find_package(Gpgme REQUIRED)
0008 find_package(KF5Codecs CONFIG REQUIRED)
0009 find_package(KF5Contacts CONFIG REQUIRED)
0010 find_package(KF5Sonnet CONFIG REQUIRED)
0011
0012 include(GenerateExportHeader)
0013
0014 set(CMAKE_CXX_VISIBILITY_PRESET default)
0015
0016 include_directories(. domain/mime/mimetreeparser domain/ domain/mime)
0017
0018 add_library(kubeframework SHARED
0019 settings/settings.cpp
0020 domain/maillistmodel.cpp
0021 domain/folderlistmodel.cpp
0022 domain/perioddayeventmodel.cpp
0023 domain/eventoccurrencemodel.cpp
0024 domain/eventcontroller.cpp
0025 domain/invitationcontroller.cpp
0026 domain/todomodel.cpp
0027 domain/todocontroller.cpp
0028 domain/multidayeventmodel.cpp
0029 domain/composercontroller.cpp
0030 domain/modeltest.cpp
0031 domain/retriever.cpp
0032 domain/outboxmodel.cpp
0033 domain/identitiesmodel.cpp
0034 domain/recepientautocompletionmodel.cpp
0035 domain/settings/accountsettings.cpp
0036 domain/selector.cpp
0037 domain/completer.cpp
0038 domain/mouseproxy.cpp
0039 domain/contactcontroller.cpp
0040 domain/controller.cpp
0041 domain/peoplemodel.cpp
0042 domain/textdocumenthandler.cpp
0043 domain/spellcheckhighlighter.cpp
0044 domain/sinkutils.cpp
0045 domain/mime/htmlutils.cpp
0046 domain/mime/messageparser.cpp
0047 domain/mime/attachmentmodel.cpp
0048 domain/mime/partmodel.cpp
0049 domain/mime/mailtemplates.cpp
0050 accounts/accountfactory.cpp
0051 accounts/accountsmodel.cpp
0052 fabric.cpp
0053 sinkfabric.cpp
0054 kubeimage.cpp
0055 clipboardproxy.cpp
0056 krecursivefilterproxymodel.cpp
0057 qquicktreemodeladaptor.cpp
0058 startupcheck.cpp
0059 keyring.cpp
0060 domainobjectcontroller.cpp
0061 extensionmodel.cpp
0062 syntaxhighlighter.cpp
0063 viewhighlighter.cpp
0064 file.cpp
0065 logmodel.cpp
0066 inboundmodel.cpp
0067 entitymodel.cpp
0068 entitycontroller.cpp
0069 )
0070 generate_export_header(kubeframework BASE_NAME Kube EXPORT_FILE_NAME kube_export.h)
0071 set_target_properties(kubeframework PROPERTIES
0072 ENABLE_EXPORTS 1
0073 WINDOWS_EXPORT_ALL_SYMBOLS 1
0074 )
0075 target_link_libraries(kubeframework
0076 sink
0077 mailcrypto
0078 Qt5::Core
0079 Qt5::Quick
0080 Qt5::Qml
0081 Qt5::WebEngineWidgets
0082 Qt5::Test
0083 Qt5::WebEngine
0084 Qt5::Gui
0085 KF5::Codecs
0086 KF5::Contacts
0087 KF5::CalendarCore
0088 KF5::SonnetCore
0089 KAsync
0090 )
0091 install(TARGETS kubeframework DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0092
0093 add_library(frameworkplugin SHARED frameworkplugin.cpp)
0094 target_link_libraries(frameworkplugin
0095 kubeframework
0096 )
0097 install(TARGETS frameworkplugin DESTINATION ${FRAMEWORK_INSTALL_DIR})
0098
0099 set(BUILD_TESTING ON)
0100
0101 add_subdirectory(tests)
0102 add_subdirectory(domain/mime)
0103 add_subdirectory(domain/mime/tests)
0104 add_subdirectory(domain/settings/tests)
0105
0106 feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)