From 16f5b5d540950f882ee20b13114917f420f41cbb Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 9 Jan 2024 09:21:12 +0200 Subject: Allow imported buildfiles to using config.* variables from own project --- libbuild2/parser.hxx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'libbuild2/parser.hxx') diff --git a/libbuild2/parser.hxx b/libbuild2/parser.hxx index 54735d5..7263e59 100644 --- a/libbuild2/parser.hxx +++ b/libbuild2/parser.hxx @@ -134,8 +134,13 @@ namespace build2 // config directive result. // - vector> config_report; // Config value and format. - bool config_report_new = false; // One of values is new. + struct config_report + { + project_name module; // Reporting module name. + vector> values; // Config value and format. + bool new_value; // One of values is new. + }; + small_vector config_reports; // Misc utilities. // -- cgit v1.1