Commit 17855384 authored by Laurent Montel's avatar Laurent Montel 😁

Start to create plugin

parent d8d4fcf7
......@@ -84,6 +84,7 @@ set(MAILIMPORTER_LIB_VERSION "5.5.40")
find_package(KF5CalendarUtils ${CALENDAR_UTILS_VERSION} CONFIG REQUIRED)
find_package(KF5WebEngineViewer ${MESSAGELIB_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5TemplateParser ${MESSAGELIB_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5MailCommon ${MAILCOMMON_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5KaddressbookGrantlee ${KDEPIM_APPS_LIB_VERSION} CONFIG REQUIRED)
find_package(KF5MessageViewer ${MESSAGELIB_LIB_VERSION} CONFIG REQUIRED)
......
include_directories(${CMAKE_CURRENT_BINARY_DIR})
if(BUILD_TESTING)
#add_subdirectory(tests)
add_subdirectory(autotests)
endif()
set(templateparserplugin_SRCS
templateparseremailaddressrequesterakonadi.cpp
)
kcoreaddons_add_plugin(templateparseraddressrequesterplugin JSON templateparseremailaddressrequesterakonadi.json SOURCES
${templateparserplugin_SRCS} INSTALL_NAMESPACE templateparser)
target_link_libraries(templateparseraddressrequesterplugin
KF5::TemplateParser KF5::Completion KF5::I18n
)
{
"KPlugin": {
"Id": "templateparseremailaddressrequesterakonadi",
"Name": "Email Address Requester for Templateparser",
"ServiceTypes": [
"TemplateParser/TemplateParserEmailAddressRequester"
],
"Version": "1.0"
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment