From 4c1b2f072bcc41c00990331245e479a55b0990ff Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 14 Feb 2022 11:15:36 +0200 Subject: Factor reusable code to contex::enter_project_overrides() --- libbuild2/context.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libbuild2/context.hxx') 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; -- cgit v1.1