From f5185c4799fe0e9c31a218dfc8310515ac921c2b Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 9 Mar 2016 15:20:31 +0100 Subject: Moved framework/mail to framework/domain --- framework/domain/CMakeLists.txt | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 framework/domain/CMakeLists.txt (limited to 'framework/domain/CMakeLists.txt') diff --git a/framework/domain/CMakeLists.txt b/framework/domain/CMakeLists.txt new file mode 100644 index 00000000..822b2981 --- /dev/null +++ b/framework/domain/CMakeLists.txt @@ -0,0 +1,32 @@ +set(mailplugin_SRCS + mailplugin.cpp + maillistcontroller.cpp + maillistmodel.cpp + singlemailcontroller.cpp + folderlistmodel.cpp + folderlistcontroller.cpp + actions/sinkactions.cpp + actions/mailactions.cpp + objecttreesource.cpp + stringhtmlwriter.cpp + csshelper.cpp + composer.cpp + messageparser.cpp + mailtransport.cpp + mailtemplates.cpp + retriever.cpp +) +add_definitions(-DMAIL_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/data") + +find_package(CURL 7.20.0 REQUIRED) + +include_directories(${CURL_INCLUDE_DIRS}) + +add_library(mailplugin SHARED ${mailplugin_SRCS}) + +qt5_use_modules(mailplugin Core Quick Qml WebKitWidgets) + +target_link_libraries(mailplugin actionplugin settingsplugin sink KF5::Otp KF5::Codecs ${CURL_LIBRARIES}) + +install(TARGETS mailplugin DESTINATION ${QML_INSTALL_DIR}/org/kde/kube/mail) +install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/kube/mail) -- cgit v1.2.3