aboutsummaryrefslogtreecommitdiff
path: root/build/algorithm
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-03-25 14:48:36 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-03-25 14:48:36 +0200
commitcd75e06a87aa74aa6968113107afa53d401d20bc (patch)
tree1e104829d10f375a783d6efbbf7eef3e2c6d2ef5 /build/algorithm
parenta94dcda7f00b10cb22b5f2138b1c29bcfbe7de37 (diff)
Configure/disfigure src_root saving/removing support; fsdir{} injection
We can now build out-of-tree.
Diffstat (limited to 'build/algorithm')
-rw-r--r--build/algorithm7
1 files changed, 7 insertions, 0 deletions
diff --git a/build/algorithm b/build/algorithm
index a272a4c..c056d57 100644
--- a/build/algorithm
+++ b/build/algorithm
@@ -37,6 +37,13 @@ namespace build
void
search_and_match (action, target&, const path& dir);
+ // Inject dependency on the parent directory fsdir{}, unless it is
+ // the project's out_root (or is outside of any project; think, for
+ // example, install directories).
+ //
+ void
+ inject_parent_fsdir (action, target&);
+
// Execute the action on target, assuming a rule has been matched
// and the recipe for this action has been set.
//