diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-17 11:48:40 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-12-17 11:48:40 +0200 |
commit | 747ff339c4be7d271a33996638b3b026a166d805 (patch) | |
tree | 3ffd726a68ca8b7125fecdf4be8f87e1afeee99d /build2/algorithm | |
parent | a21902d3764aa64f1579f1b1bf2831789890d0da (diff) |
Don't try to test out-of-project prerequisites
Diffstat (limited to 'build2/algorithm')
-rw-r--r-- | build2/algorithm | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/build2/algorithm b/build2/algorithm index 4c12148..8d8889d 100644 --- a/build2/algorithm +++ b/build2/algorithm @@ -45,7 +45,8 @@ namespace build2 const dir_path& out, const string& name, const string* ext, - scope*); + scope*, + const string* proj = nullptr); // As above but specify the target type as template argument. // @@ -57,32 +58,30 @@ namespace build2 const string* ext, scope*); - // Search for a target identified by the name. The semantics - // is "as if" we first created a prerequisite based on this - // name in exactly the same way as the parser would and then - // searched based on this prerequisite. + // Search for a target identified by the name. The semantics is "as if" we + // first created a prerequisite based on this name in exactly the same way + // as the parser would and then searched based on this prerequisite. // target& search (name, scope&); - // Match and apply a rule to the action/target with ambiguity - // detection. Increment the target's dependents count, which - // means that you should call this function with the intent - // to also call execute(). In case of optimizations that would - // avoid calling execute(), call unmatch() to indicate this. + // Match and apply a rule to the action/target with ambiguity detection. + // Increment the target's dependents count, which means that you should call + // this function with the intent to also call execute(). In case of + // optimizations that would avoid calling execute(), call unmatch() to + // indicate this. // void match (action, target&); - // Note that calling this function only makes sense if the - // target itself doesn't have its own dependents. + // Note that calling this function only makes sense if the target itself + // doesn't have its own dependents. // void unmatch (action, target&); - // Match (but do not apply) a rule to the action/target with - // ambiguity detection. Note that this function does not touch - // the dependents count. + // Match (but do not apply) a rule to the action/target with ambiguity + // detection. Note that this function does not touch the dependents count. // void match_only (action, target&); |