From bcfcc38538af8bb896551c9e5730767807ad7a67 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 7 Feb 2017 10:05:47 +0200 Subject: Tighten code that operates during both search/match and execute --- build2/file | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'build2/file') 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 -- cgit v1.1