aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-11-22 11:31:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-11-22 11:31:35 +0200
commit6cb9d0e810c3336106b6c1f3c8a80cdec6fbdcf0 (patch)
treeeb2475162e91e81fded9645df54d6e199c6c3fc5 /build2/algorithm.hxx
parent1a2ea6db0d5de8c5cabb4fedc845ce9e72cccff0 (diff)
Fix dist bug where missing source file would be silently ignored
Diffstat (limited to 'build2/algorithm.hxx')
-rw-r--r--build2/algorithm.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/build2/algorithm.hxx b/build2/algorithm.hxx
index dbc7d9b..ff70b21 100644
--- a/build2/algorithm.hxx
+++ b/build2/algorithm.hxx
@@ -29,6 +29,11 @@ namespace build2
const target*
search_existing (const prerequisite&);
+ // As above but cache a target searched in a custom way.
+ //
+ const target&
+ search_custom (const prerequisite&, const target&);
+
// As above but specify the prerequisite to search as a key.
//
const target&