lib: centralize xapian include, enable move semantics

Only include xapian.h in one place, so we can have consistent options.
With that in place, we can enable C++ move semantics.

We don't do anything with that yet, but we check in the meson.build file
to see if we have the required xapian version.
This commit is contained in:
Dirk-Jan C. Binnema
2024-04-30 19:29:16 +03:00
parent 32bb79b316
commit 5a48664033
12 changed files with 30 additions and 30 deletions

View File

@ -1,5 +1,5 @@
/*
** Copyright (C) 2022 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
** Copyright (C) 2022-2024 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
**
** This program is free software; you can redistribute it and/or modify it
** under the terms of the GNU General Public License as published by the
@ -33,12 +33,11 @@
#include <unistd.h>
#include <fcntl.h>
#include <xapian.h>
#include <glib.h>
#include <mu-xapian-db.hh>
#include <utils/mu-utils.hh>
#include <utils/mu-option.hh>
#include <mu-xapian-db.hh>
#include <message/mu-message.hh>