From fdaa71c503c04aa35230b7f932f9ad43cc994a08 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 21 Mar 2022 21:32:42 +0300 Subject: Add configuration variable sources to selected packages --- bpkg/package-skeleton.hxx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'bpkg/package-skeleton.hxx') diff --git a/bpkg/package-skeleton.hxx b/bpkg/package-skeleton.hxx index d2a848c..aaa9b8c 100644 --- a/bpkg/package-skeleton.hxx +++ b/bpkg/package-skeleton.hxx @@ -56,15 +56,17 @@ namespace bpkg void evaluate_reflect (const string&, size_t depends_index); - // Return the accumulated reflect values. + // Return the accumulated reflect values together with their sources (the + // resulting vectors are parallel). // - // Note that the result is merged with config_vars and you should be used - // instead rather than in addition to config_vars. + // Note that the result is merged with config_vars and should be used + // instead rather than in addition to config_vars. The source of + // configuration variables which are not the project variables is absent. // // Note also that this should be the final call on this object. // - strings - collect_reflect () &&; + pair>> + collect_config () &&; const package_name& name () const {return available_->id.name;} -- cgit v1.1