diff options
Diffstat (limited to 'libbuild2/search.hxx')
-rw-r--r-- | libbuild2/search.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libbuild2/search.hxx b/libbuild2/search.hxx index aa30648..e3b1442 100644 --- a/libbuild2/search.hxx +++ b/libbuild2/search.hxx @@ -15,8 +15,13 @@ namespace build2 // Search for an existing target in this prerequisite's scope. Scope can be // NULL if directories are absolute. // + // If dir is relative and out is not specified, then first search in the out + // tree and, if not found, then in the src tree, unless out_only is true. + // If dir is absolute, then out is expected to be specified as well, if + // necessary. + // LIBBUILD2_SYMEXPORT const target* - search_existing_target (context&, const prerequisite_key&); + search_existing_target (context&, const prerequisite_key&, bool out_only); // Search for an existing file. If the prerequisite directory is relative, // then look in the scope's src directory. Otherwise, if the absolute |