aboutsummaryrefslogtreecommitdiff
path: root/build/target.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-12-02 11:37:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-12-02 11:37:15 +0200
commit9891b20350021ce41a950645dd76df20a45c92cc (patch)
tree0cd27041b0c3413e17b9319ae99e87c5e745b1ff /build/target.txx
parent74212589a797ca75e55f92a522e198915c0dbaf6 (diff)
Implement optional module loading
The syntax is: using? cli Now each module use results in two bool variables: <module>.loaded and <module>.configured. Also implement variable visibility (the above two variables are limited to project).
Diffstat (limited to 'build/target.txx')
-rw-r--r--build/target.txx2
1 files changed, 1 insertions, 1 deletions
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)
{