From c23346c4cda9e0c2318c302dc6014d3fef53a6d3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 20 Feb 2015 09:29:56 +0200 Subject: Rework extension handling logic We no longer support hxx{vector.}. Rather, the target type can decide, e.g., based on a config variable, whether to append an extension. Also, in the future we may support a syntax to specify that this is a complete name, e.g., hxx{'vector'}. --- build/target.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/target.cxx') diff --git a/build/target.cxx b/build/target.cxx index 31a7f59..7a40c61 100644 --- a/build/target.cxx +++ b/build/target.cxx @@ -38,7 +38,7 @@ namespace build os << t.name; - if (t.ext != nullptr) + if (t.ext != nullptr && !t.ext->empty ()) os << '.' << *t.ext; os << '}'; -- cgit v1.1