libnotmuch_srcs = [ 'add-message.cc', 'built-with.c', 'config.cc', 'database.cc', 'directory.cc', 'filenames.c', 'index.cc', 'indexopts.c', 'message-file.c', 'message-id.c', 'message-property.cc', 'message.cc', 'messages.c', 'parse-time-vrp.cc', 'query-fp.cc', 'query.cc', 'regexp-fields.cc', 'sha1.c', 'string-list.c', 'string-map.c', 'tags.c', 'thread-fp.cc', 'thread.cc', ] inc_lib = include_directories('.') lib_notmuch = both_libraries('notmuch', libnotmuch_srcs, include_directories: [inc_compat, inc_util, inc_parse_time], link_with: [lib_compat, lib_util, lib_parse_time], dependencies: [dep_gmime, dep_glib, dep_xapian, dep_talloc], version: libnotmuch_version, install: true)