diff options
Diffstat (limited to 'build/algorithm')
-rw-r--r-- | build/algorithm | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/build/algorithm b/build/algorithm index f108a8a..d01614c 100644 --- a/build/algorithm +++ b/build/algorithm @@ -44,7 +44,7 @@ namespace build const dir_path& dir, const std::string& name, const std::string* ext, - scope* scope); + scope*); // As above but specify the target type as template argument. // @@ -53,7 +53,15 @@ namespace build search (const dir_path& dir, const std::string& name, const std::string* ext, - scope* scope); + 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. + // + target& + search (name, scope&); // Match a rule to the action/target with ambiguity detection. // |