From 74212589a797ca75e55f92a522e198915c0dbaf6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 1 Dec 2015 15:37:04 +0200 Subject: Use 'extension' variable to resolve extension for file{} We now also check target type/pattern-specific variables. So the new usage is: cli{*}: extension = cli --- build/context.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build/context.cxx') diff --git a/build/context.cxx b/build/context.cxx index a20a7e2..699cc3c 100644 --- a/build/context.cxx +++ b/build/context.cxx @@ -74,6 +74,8 @@ namespace build // variable_pool.find ("subprojects", nullptr, '='); + variable_pool.find ("extension", string_type); + // Create global scope. For Win32 this is not a "real" root path. // On POSIX, however, this is a real path. See the comment in // for details. -- cgit v1.1