From bbe8cbd13c40a1309e0d7724319c5487a5df0879 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 21 Jun 2022 10:04:07 +0200 Subject: Add --trace-{match,execute} options These options can be used to understand which dependency chain causes matching or execution of a particular target. --- libbuild2/types-parsers.hxx | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libbuild2/types-parsers.hxx') diff --git a/libbuild2/types-parsers.hxx b/libbuild2/types-parsers.hxx index aef00ca..ebd2a02 100644 --- a/libbuild2/types-parsers.hxx +++ b/libbuild2/types-parsers.hxx @@ -44,6 +44,16 @@ namespace build2 }; template <> + struct parser + { + static void + parse (name&, bool&, scanner&); + + static void + merge (name& b, const name& a) {b = a;} + }; + + template <> struct parser { static void -- cgit v1.1