diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-02-14 11:15:36 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-02-14 11:15:36 +0200 |
commit | 4c1b2f072bcc41c00990331245e479a55b0990ff (patch) | |
tree | 1c63a4d02a464ed0e5a6a182780619b1899574b5 /libbuild2/context.hxx | |
parent | 5fc7471c034c367ff5ad776c2b9d7698678266c9 (diff) |
Factor reusable code to contex::enter_project_overrides()
Diffstat (limited to 'libbuild2/context.hxx')
-rw-r--r-- | libbuild2/context.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libbuild2/context.hxx b/libbuild2/context.hxx index 9df7a88..3563c16 100644 --- a/libbuild2/context.hxx +++ b/libbuild2/context.hxx @@ -353,6 +353,13 @@ namespace build2 const variable_overrides& var_overrides; // Project and relative scope. function_map& functions; + // Enter project-wide (as opposed to global) variable overrides. + // + void + enter_project_overrides (scope& rs, + const dir_path& out_base, + const variable_overrides&); + // Global scope. // const scope& global_scope; |