aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-06-16 16:22:48 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-06-16 16:22:48 +0200
commit5c8de4f515c99d894bec764a6793352c9cad0825 (patch)
tree6a590192c8010e19d9fa152058ba382ec160d603 /build2/algorithm.hxx
parentf3e193b2651b2589daecaf181b96c5622acc51e9 (diff)
Add support for explicitly specifying module name on mxx{} target
Diffstat (limited to 'build2/algorithm.hxx')
-rw-r--r--build2/algorithm.hxx10
1 files changed, 7 insertions, 3 deletions
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&,