aboutsummaryrefslogtreecommitdiff
path: root/bdep/sync.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-07-20 19:45:06 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-07-21 11:40:18 +0300
commit8d6f54f819d857aa89135a2474d5951ef02fd068 (patch)
treec25b64320e9fbf2d831d8723f5a02cce91c26133 /bdep/sync.hxx
parent7fa45e22d7f2f47607bbad203a4c48d3b3021724 (diff)
Fix init and sync commands to consider project packages specified on command line
Diffstat (limited to 'bdep/sync.hxx')
-rw-r--r--bdep/sync.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/bdep/sync.hxx b/bdep/sync.hxx
index 9003836..03ba105 100644
--- a/bdep/sync.hxx
+++ b/bdep/sync.hxx
@@ -39,6 +39,9 @@ namespace bdep
// The optional pkg_args are the additional dependency packages and/or
// configuration variables to pass to bpkg-pkg-build (see bdep-init).
//
+ // If the origin project packages (prj_pkgs) are specified, then non-global
+ // configuration variables are only applied to these packages.
+ //
// If fetch is false, don't perform a (shallow) fetch of the project
// repository. If yes is false, then don't suppress bpkg prompts. If
// name_cfg is true then include the configuration name/directory into
@@ -92,6 +95,7 @@ namespace bdep
bool fetch = true,
bool yes = true,
bool name_cfg = false,
+ const package_locations& prj_pkgs = {},
const sys_options& = sys_options (),
bool create_host_config = false,
bool create_build2_config = false,
@@ -110,6 +114,7 @@ namespace bdep
bool fetch = true,
bool yes = true,
bool name_cfg = false,
+ const package_locations& prj_pkgs = {},
const sys_options& = sys_options (),
bool create_host_config = false,
bool create_build2_config = false);