From e5664cb06e54d50e42e7722d5eaafd3cae2313b0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 19 Jul 2017 18:51:51 +0200 Subject: Add support for explicit fsdir{} specification --- build2/algorithm.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'build2/algorithm.hxx') diff --git a/build2/algorithm.hxx b/build2/algorithm.hxx index fc5e02a..5b52069 100644 --- a/build2/algorithm.hxx +++ b/build2/algorithm.hxx @@ -239,6 +239,11 @@ namespace build2 // the injected target or NULL. Normally this function is called from the // rule's apply() function. // + // As an extension, this function will also search for an existing fsdir{} + // prerequisite for the directory and if one exists, return that (even if + // the target is in src tree). This can be used, for example, to place + // output into an otherwise non-existent directory. + // const fsdir* inject_fsdir (action, target&, bool parent = true); -- cgit v1.1