From 5dcbecfd8b83f516c067780214f06321f03d1cce Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 12 Mar 2018 11:17:21 +0200 Subject: Initial sync implementation --- bdep/project.hxx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'bdep/project.hxx') diff --git a/bdep/project.hxx b/bdep/project.hxx index 2d0d3f1..16716ef 100644 --- a/bdep/project.hxx +++ b/bdep/project.hxx @@ -142,8 +142,12 @@ namespace bdep // Given the project options (and CWD) locate the packages and their // project. The result is an absolute and normalized project directory and a - // vector of relative (to the project directory) package locations (which - // will be empty if ignore_packages is true). + // vector of relative (to the project directory) package locations. + // + // If ignore_packages is true then ignore packages in case the resulting + // vector will be empty. Otherwise, if load_packages is false, then don't + // load all the available packages from packages.manifest if none were + // found/specified. // // Note that if the package directory is the same as project, then the // package path will be empty (and not ./). @@ -163,7 +167,9 @@ namespace bdep }; project_packages - find_project_packages (const project_options&, bool ignore_packages = false); + find_project_packages (const project_options&, + bool ignore_packages = false, + bool load_packages = true); } #endif // BDEP_PROJECT_HXX -- cgit v1.1