From 5c8de4f515c99d894bec764a6793352c9cad0825 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 16 Jun 2017 16:22:48 +0200 Subject: Add support for explicitly specifying module name on mxx{} target --- build2/algorithm.hxx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'build2/algorithm.hxx') diff --git a/build2/algorithm.hxx b/build2/algorithm.hxx index 49ca7a7..fc5e02a 100644 --- a/build2/algorithm.hxx +++ b/build2/algorithm.hxx @@ -24,6 +24,11 @@ namespace build2 const target& search (const target&, const prerequisite&); + // As above but only search for an already existing target. + // + const target* + search_existing (const target&, const prerequisite&); + // As above but specify the prerequisite to search as a key. // const target& @@ -72,9 +77,8 @@ namespace build2 const target& search (const target&, name, const scope&); - // As above but only search for an already existing target. Unlike the above - // version, this one can be called during the execute phase. Return NULL for - // unknown target types. + // Unlike the above version, this one can be called during the execute + // phase. Return NULL for unknown target types. // const target* search_existing (const name&, -- cgit v1.1