From ae9baf01f2a9627b7f1f2dc9db349d89c992f740 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 1 Nov 2023 09:42:57 +0200 Subject: Add support for adjusting match options of post hoc prerequisites --- libbuild2/context.hxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'libbuild2/context.hxx') diff --git a/libbuild2/context.hxx b/libbuild2/context.hxx index 8898c92..2dec54a 100644 --- a/libbuild2/context.hxx +++ b/libbuild2/context.hxx @@ -432,9 +432,15 @@ namespace build2 // struct posthoc_target { + struct prerequisite_target + { + const build2::target* target; + uint64_t match_options; + }; + build2::action action; reference_wrapper target; - vector prerequisite_targets; + vector prerequisite_targets; }; list current_posthoc_targets; -- cgit v1.1