aboutsummaryrefslogtreecommitdiff
path: root/build2/file
diff options
context:
space:
mode:
Diffstat (limited to 'build2/file')
-rw-r--r--build2/file8
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>