From 9891b20350021ce41a950645dd76df20a45c92cc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 2 Dec 2015 11:37:15 +0200 Subject: Implement optional module loading The syntax is: using? cli Now each module use results in two bool variables: .loaded and .configured. Also implement variable visibility (the above two variables are limited to project). --- build/target.txx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/target.txx') diff --git a/build/target.txx b/build/target.txx index 48bac21..e347f77 100644 --- a/build/target.txx +++ b/build/target.txx @@ -22,7 +22,7 @@ namespace build { // Include target type/pattern-specific variables. // - auto l (s.lookup (*tk.type, *tk.name, var)); + auto l (s.lookup (tk, var)); if (!l) { -- cgit v1.1