From fb3a7f3343f9ee0cfd15b540a3209e438f6063eb Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 12 Nov 2020 09:27:20 +0200 Subject: Assign fixed extensions to wasm{} and pdb{} target types --- libbuild2/scope.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libbuild2/scope.hxx') 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: -- cgit v1.1