aboutsummaryrefslogtreecommitdiff
path: root/build2/target
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-23 12:13:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-23 12:13:06 +0200
commit3e39190bc50284a620605c7b61faff197e116457 (patch)
treef121a5df5b275816205d8ab9d9a1036683e02d15 /build2/target
parentdb0edaafe15831ba6fa9c2109da37942506c62b1 (diff)
Clean up default target extension derivation logic
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.
//