blob: 435db5cf0d9fa8d1e9fc6a266da7e5bb7d01d3c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
set(mailplugin_SRCS
mailplugin.cpp
maillistmodel.cpp
folderlistmodel.cpp
actions/sinkactions.cpp
actions/mailactions.cpp
objecttreesource.cpp
stringhtmlwriter.cpp
csshelper.cpp
composercontroller.cpp
messageparser.cpp
mailtransport.cpp
mailtemplates.cpp
retriever.cpp
accountfactory.cpp
accountscontroller.cpp
accountsmodel.cpp
)
add_definitions(-DMAIL_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/data")
find_package(CURL 7.20.0 REQUIRED)
find_package(KF5 REQUIRED COMPONENTS Package)
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 KF5::Package ${CURL_LIBRARIES})
install(TARGETS mailplugin DESTINATION ${QML_INSTALL_DIR}/org/kube/framework/domain)
install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kube/framework/domain)
|