aboutsummaryrefslogtreecommitdiff
path: root/build2/target
diff options
context:
space:
mode:
Diffstat (limited to 'build2/target')
-rw-r--r--build2/target10
1 files changed, 10 insertions, 0 deletions
diff --git a/build2/target b/build2/target
index 3d794c8..c6cc46e 100644
--- a/build2/target
+++ b/build2/target
@@ -1068,6 +1068,16 @@ namespace build2
const std::string&
target_extension_var (const target_key&, scope&);
+ // Issue diagnostics and fail if called.
+ //
+ const std::string&
+ target_extension_fail (const target_key&, scope&);
+
+ // Assert if called.
+ //
+ const std::string&
+ target_extension_assert (const target_key&, scope&);
+
// The default behavior, that is, look for an existing target in the
// prerequisite's directory scope.
//