From 8d6f54f819d857aa89135a2474d5951ef02fd068 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 20 Jul 2023 19:45:06 +0300 Subject: Fix init and sync commands to consider project packages specified on command line --- bdep/sync.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bdep/sync.hxx') 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); -- cgit v1.1