diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-15 17:05:20 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-15 17:05:20 +0100 |
commit | 1710fab0965d32b883dfcc327c36d3fd38a91357 (patch) | |
tree | 1ba0d5d4728ff6405846a99549293a4b4c69da25 /examples/maildirresource/CMakeLists.txt | |
parent | 62d74778fa315091c5f0b99093bd806a1ccd7a79 (diff) | |
download | sink-1710fab0965d32b883dfcc327c36d3fd38a91357.tar.gz sink-1710fab0965d32b883dfcc327c36d3fd38a91357.zip |
A read-only maildir resource.
Respectively a first prototype thereof.
Diffstat (limited to 'examples/maildirresource/CMakeLists.txt')
-rw-r--r-- | examples/maildirresource/CMakeLists.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/maildirresource/CMakeLists.txt b/examples/maildirresource/CMakeLists.txt new file mode 100644 index 0000000..2340cf6 --- /dev/null +++ b/examples/maildirresource/CMakeLists.txt | |||
@@ -0,0 +1,15 @@ | |||
1 | project(akonadi2_resource_maildir) | ||
2 | |||
3 | add_definitions(-DQT_PLUGIN) | ||
4 | include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}) | ||
5 | |||
6 | find_package(KF5 COMPONENTS REQUIRED Mime) | ||
7 | |||
8 | add_library(${PROJECT_NAME} SHARED facade.cpp maildirresource.cpp domainadaptor.cpp) | ||
9 | # generate_flatbuffers(${PROJECT_NAME} dummycalendar) | ||
10 | qt5_use_modules(${PROJECT_NAME} Core Network) | ||
11 | target_link_libraries(${PROJECT_NAME} akonadi2common maildir KF5::Mime) | ||
12 | |||
13 | install(TARGETS ${PROJECT_NAME} LIBRARY DESTINATION ${AKONADI2_RESOURCE_PLUGINS_PATH}) | ||
14 | |||
15 | add_subdirectory(libmaildir) | ||