aboutsummaryrefslogtreecommitdiff
path: root/bdep/config.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-09 15:06:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-03-09 15:06:27 +0200
commitd304762e4338b4a055e2be018205a00c2ca9ee2f (patch)
tree252a4aa70118135e589095442fb4df3879c96eb0 /bdep/config.hxx
parentdf5e58e6e5eb2727a185bf9a98a462c18fa3a83d (diff)
Support for resolving and adding configurations
Diffstat (limited to 'bdep/config.hxx')
-rw-r--r--bdep/config.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/bdep/config.hxx b/bdep/config.hxx
index e4244e6..2f04719 100644
--- a/bdep/config.hxx
+++ b/bdep/config.hxx
@@ -8,10 +8,19 @@
#include <bdep/types.hxx>
#include <bdep/utility.hxx>
+#include <bdep/project.hxx>
#include <bdep/config-options.hxx>
namespace bdep
{
+ shared_ptr<configuration>
+ cmd_config_add (const dir_path& prj,
+ database&,
+ dir_path path,
+ optional<string> name,
+ optional<bool> default_ = nullopt,
+ optional<uint64_t> id = nullopt);
+
int
cmd_config (const cmd_config_options&, cli::scanner& args);
}