diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-06-23 07:37:08 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-06-23 07:37:08 +0200 |
commit | e4c0168e4e8834aea0cfe06b8b2fc8bd63f591bb (patch) | |
tree | aa8060de3abd73dfbf89ed35d054fc470cf445ea /configure.h | |
parent | 68bf2848332fd15a2b6dfa49f3a58fccd899dbd7 (diff) |
Split libcppbuild.cc into multiple files/modules.
Diffstat (limited to 'configure.h')
-rw-r--r-- | configure.h | 19 |
1 files changed, 19 insertions, 0 deletions
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 <filesystem> +#include <string> +#include <map> + +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<std::string, std::string>& configuration(); + +extern const std::map<std::string, std::string> default_configuration; |