aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/scope.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-11-12 09:27:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-11-12 09:27:20 +0200
commitfb3a7f3343f9ee0cfd15b540a3209e438f6063eb (patch)
treeb60012bdf95e649dfc73c03a08b1a6cd9d28c12f /libbuild2/scope.hxx
parentcd10a583ad1f3c299383c07fd8c6ccd6e3199e6b (diff)
Assign fixed extensions to wasm{} and pdb{} target types
Diffstat (limited to 'libbuild2/scope.hxx')
-rw-r--r--libbuild2/scope.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/scope.hxx b/libbuild2/scope.hxx
index 25657a3..d441267 100644
--- a/libbuild2/scope.hxx
+++ b/libbuild2/scope.hxx
@@ -367,6 +367,11 @@ namespace build2
return derive_target_type (name, T::static_type);
}
+ // Derive from an "exemplar" type overriding the factory.
+ //
+ const target_type&
+ derive_target_type (const target_type&);
+
// Rules.
//
public: