From 3e39190bc50284a620605c7b61faff197e116457 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 23 Jan 2016 12:13:06 +0200 Subject: Clean up default target extension derivation logic --- build2/target | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'build2/target') 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. // -- cgit v1.1