From e4c0168e4e8834aea0cfe06b8b2fc8bd63f591bb Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 23 Jun 2021 07:37:08 +0200 Subject: Split libcppbuild.cc into multiple files/modules. --- configure.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 configure.h (limited to 'configure.h') diff --git a/configure.h b/configure.h new file mode 100644 index 0000000..95b6765 --- /dev/null +++ b/configure.h @@ -0,0 +1,19 @@ +// -*- c++ -*- +#pragma once + +#include +#include +#include + +extern std::filesystem::path configurationFile;; +extern std::filesystem::path configHeaderFile; + +int configure(int argc, char* argv[]); + +bool hasConfiguration(const std::string& key); +const std::string& getConfiguration(const std::string& key, + const std::string& defaultValue); + +const std::map& configuration(); + +extern const std::map default_configuration; -- cgit v1.2.3