From becea217436a79b7ef37a023da6cb4c560225a71 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 2 Dec 2015 14:24:10 +0200 Subject: Redo extension derivation for file{}, doc{}, and cli{} We now first check the 'extension' variable, then use the default. --- build/target | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'build/target') diff --git a/build/target b/build/target index 2aea7ae..69f8f4f 100644 --- a/build/target +++ b/build/target @@ -1051,9 +1051,10 @@ namespace build const std::string& target_extension_fix (const target_key&, scope&); - // Get the extension from the variable. + // Get the extension from the variable or use the default if none set. + // Issue diagnostics and fail if the default is NULL. // - template + template const std::string& target_extension_var (const target_key&, scope&); -- cgit v1.1