lib: move 3rd party code to thirdparty; add tabulate.hpp

Move 3rd-party code to their own dir, and add the nice tabulate.hpp
This commit is contained in:
Dirk-Jan C. Binnema 2022-04-30 00:56:02 +03:00
parent a4317d3264
commit 30e7b5d9ec
7 changed files with 9238 additions and 17 deletions

View File

@ -29,7 +29,6 @@
#include <xapian.h> #include <xapian.h>
#include <glib/gstdio.h> #include <glib/gstdio.h>
#include "expected.hpp"
#include "mu-query-results.hh" #include "mu-query-results.hh"
#include "mu-query-match-deciders.hh" #include "mu-query-match-deciders.hh"
#include "mu-query-threads.hh" #include "mu-query-threads.hh"

9235
lib/thirdparty/tabulate.hpp vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -16,29 +16,16 @@
lib_mu_utils=static_library('mu-utils', [ lib_mu_utils=static_library('mu-utils', [
'mu-async-queue.hh',
'mu-command-parser.cc', 'mu-command-parser.cc',
'mu-command-parser.hh',
'mu-error.hh',
'mu-logger.cc', 'mu-logger.cc',
'mu-logger.hh',
'mu-option.hh',
'mu-option.cc', 'mu-option.cc',
'mu-readline.cc', 'mu-readline.cc',
'mu-readline.hh',
'mu-result.hh',
'mu-sexp.cc', 'mu-sexp.cc',
'mu-sexp.hh',
'mu-str.c', 'mu-str.c',
'mu-str.h', 'mu-str.h',
'mu-util.c', 'mu-util.c',
'mu-util.h', 'mu-util.h',
'mu-utils.cc', 'mu-utils.cc'],
'mu-utils.hh',
'mu-xapian-utils.hh',
# third party
'optional.hpp',
'expected.hpp'],
dependencies: [ dependencies: [
glib_dep, glib_dep,
config_h_dep, config_h_dep,

View File

@ -14,7 +14,7 @@
#ifndef MU_OPTION__ #ifndef MU_OPTION__
#define MU_OPTION__ #define MU_OPTION__
#include "optional.hpp" #include "thirdparty/optional.hpp"
#include <string> #include <string>
namespace Mu { namespace Mu {

View File

@ -20,7 +20,7 @@
#ifndef MU_RESULT_HH__ #ifndef MU_RESULT_HH__
#define MU_RESULT_HH__ #define MU_RESULT_HH__
#include "expected.hpp" #include "thirdparty/expected.hpp"
#include "utils/mu-error.hh" #include "utils/mu-error.hh"
namespace Mu { namespace Mu {