aboutsummaryrefslogtreecommitdiff
path: root/bpkg/package-skeleton.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-05-20 09:43:14 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2022-06-07 21:14:14 +0300
commit56ddb0a7dfcc00cf1ef5ea3777b6bb1e7a1faa34 (patch)
treea68744e9c1a825105f16da7ded3a06b740d07400 /bpkg/package-skeleton.hxx
parent141dd9fe0f04fab25c8bda8d831c818b62a6dbb0 (diff)
Extract old user configuration values from config.build (NEEDS TEST)
Diffstat (limited to 'bpkg/package-skeleton.hxx')
-rw-r--r--bpkg/package-skeleton.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/bpkg/package-skeleton.hxx b/bpkg/package-skeleton.hxx
index 6030bdd..dfb396d 100644
--- a/bpkg/package-skeleton.hxx
+++ b/bpkg/package-skeleton.hxx
@@ -102,10 +102,15 @@ namespace bpkg
private:
// Create the skeleton if necessary and (re)load the build system state.
//
+ // If merge_config_vars is true, then extract old user configuration
+ // variables from config.build (or equivalent) and merge them into
+ // config_vars_. This is only necessary if something (e.g., reflect) could
+ // override their values in config.build.
+ //
// Call this function before evaluating every clause.
//
build2::scope&
- load ();
+ load (bool merge_config_vars);
private:
// NOTE: remember to update move/copy constructors!