aboutsummaryrefslogtreecommitdiff
path: root/build2/target.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-11-09 13:33:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-11-09 13:33:06 +0200
commit3b0df49b8828921edfb7b764b0628fb164dab852 (patch)
tree31796318acfe4a25d90381242f1f4a127f0c9aab /build2/target.hxx
parent84fa9cc11a76c41277ab04329e8b37cad08a0f9a (diff)
Initial support for prerequisite-specific variables, use for bin.whole
Diffstat (limited to 'build2/target.hxx')
-rw-r--r--build2/target.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/build2/target.hxx b/build2/target.hxx
index ddff33b..0ed1aac 100644
--- a/build2/target.hxx
+++ b/build2/target.hxx
@@ -421,7 +421,7 @@ namespace build2
value&
assign (const variable& var) {return vars.assign (var);}
- // Return a value suitable for appending. See class scope for details.
+ // Return a value suitable for appending. See scope for details.
//
value&
append (const variable&);
@@ -699,8 +699,7 @@ namespace build2
target (dir_path d, dir_path o, string n)
: dir (move (d)), out (move (o)), name (move (n)),
- vars (false) // Note: not global.
- {}
+ vars (false /* global */) {}
};
// All targets are from the targets set below.