diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-13 18:38:35 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-02-11 23:03:17 +0100 |
commit | 6051c1247cde61bcc8e483eb4166e5a297c0ecc6 (patch) | |
tree | df3aba1ef4011f2640b17c8cf7a9b106933231ab /common/CMakeLists.txt | |
parent | 8740a007515dcf1b315d69ab5c64fcfd40ec980c (diff) | |
download | sink-6051c1247cde61bcc8e483eb4166e5a297c0ecc6.tar.gz sink-6051c1247cde61bcc8e483eb4166e5a297c0ecc6.zip |
Xapian based fulltext indexing
This cuts into the sync performance by about 40%,
but gives us fast fulltext searching for all local content.
Diffstat (limited to 'common/CMakeLists.txt')
-rw-r--r-- | common/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index ec83f6f..76579dd 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt | |||
@@ -75,11 +75,13 @@ set(command_SRCS | |||
75 | storage/entitystore.cpp | 75 | storage/entitystore.cpp |
76 | indexer.cpp | 76 | indexer.cpp |
77 | mail/threadindexer.cpp | 77 | mail/threadindexer.cpp |
78 | mail/fulltextindexer.cpp | ||
78 | notification.cpp | 79 | notification.cpp |
79 | commandprocessor.cpp | 80 | commandprocessor.cpp |
80 | inspector.cpp | 81 | inspector.cpp |
81 | propertyparser.cpp | 82 | propertyparser.cpp |
82 | utils.cpp | 83 | utils.cpp |
84 | fulltextindex.cpp | ||
83 | ${storage_SRCS}) | 85 | ${storage_SRCS}) |
84 | 86 | ||
85 | add_library(${PROJECT_NAME} SHARED ${command_SRCS}) | 87 | add_library(${PROJECT_NAME} SHARED ${command_SRCS}) |
@@ -127,6 +129,7 @@ PRIVATE | |||
127 | Qt5::Gui | 129 | Qt5::Gui |
128 | KF5::Mime | 130 | KF5::Mime |
129 | KF5::Contacts | 131 | KF5::Contacts |
132 | ${XAPIAN_LIBRARIES} | ||
130 | ) | 133 | ) |
131 | install(TARGETS ${PROJECT_NAME} | 134 | install(TARGETS ${PROJECT_NAME} |
132 | EXPORT SinkTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} ${LIBRARY_NAMELINK} ) | 135 | EXPORT SinkTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} ${LIBRARY_NAMELINK} ) |