aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-05-21 15:11:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-05-28 10:10:44 +0200
commite1f472e471533330db05a42d5bcd4e99b211da0c (patch)
treecdaa6a1de2a69965a347d6132a63c5b12d051c68 /libbuild2/target.hxx
parent7d0cbd244d218bca8b806c283a5ae095f221b324 (diff)
Clean default target type extension logic
Diffstat (limited to 'libbuild2/target.hxx')
-rw-r--r--libbuild2/target.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx
index 49d4563..10abf16 100644
--- a/libbuild2/target.hxx
+++ b/libbuild2/target.hxx
@@ -1940,6 +1940,12 @@ namespace build2
string&, optional<string>&, const location&,
bool);
+ const char*
+ target_extension_none (const target_key&, const scope*);
+
+ const char*
+ target_extension_must (const target_key&, const scope*);
+
// Get the extension from the `extension` variable or use the default if
// none set. If the default is NULL, then return NULL.
//