diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-07 10:05:47 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-13 12:42:42 +0200 |
commit | bcfcc38538af8bb896551c9e5730767807ad7a67 (patch) | |
tree | 722e71364bf6d8080ca61d8b2d02879520d90765 /build2/file | |
parent | 7b9eb752cad04aaadc4552d0f26d307b04af1869 (diff) |
Tighten code that operates during both search/match and execute
Diffstat (limited to 'build2/file')
-rw-r--r-- | build2/file | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build2/file b/build2/file index 696c5d7..482542f 100644 --- a/build2/file +++ b/build2/file @@ -172,6 +172,14 @@ namespace build2 target& import (const prerequisite_key&); + + // As above but only imports as an already existing target. Unlike the above + // version, this one can be called during the execute phase. + // + // Note: similar to search_existing(). + // + const target* + import_existing (const prerequisite_key&); } #include <build2/file.ixx> |