aboutsummaryrefslogtreecommitdiff
path: root/bdep/project.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-05-21 11:48:23 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-05-22 08:07:05 +0200
commit9e1330b726c5453755bcaffd1b746d5982357861 (patch)
tree90c5bbadb5b5f9f51615013ca9e9a66bd7812750 /bdep/project.hxx
parent2ededcf152a4982e9f3caabdd2c91b6966b619d0 (diff)
Implement config-add and config-create subcommands
Diffstat (limited to 'bdep/project.hxx')
-rw-r--r--bdep/project.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/bdep/project.hxx b/bdep/project.hxx
index fe2b766..a01e5d7 100644
--- a/bdep/project.hxx
+++ b/bdep/project.hxx
@@ -178,6 +178,12 @@ namespace bdep
bool ignore_packages = false,
bool load_packages = true);
+ inline dir_path
+ find_project (const project_options& o)
+ {
+ return find_project_packages (o, true /* ignore_packages */).project;
+ }
+
// Verify all the packages are present in all the configurations.
//
void