aboutsummaryrefslogtreecommitdiff
path: root/build2/parser.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-02-02 15:35:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-02-13 12:42:41 +0200
commit63f6a8256e3f9fb47cb941be63baa70e2be48d3b (patch)
treed2799d1d605a27fa0a13d63f974f26fa78306e36 /build2/parser.cxx
parentd263455d5ac0d87541144dd7a37eb6255b721a89 (diff)
Implement target_set locking, including extension update
Diffstat (limited to 'build2/parser.cxx')
-rw-r--r--build2/parser.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/build2/parser.cxx b/build2/parser.cxx
index e3f0c70..2ffd0cf 100644
--- a/build2/parser.cxx
+++ b/build2/parser.cxx
@@ -3556,13 +3556,16 @@ namespace build2
l5 ([&]{trace (t) << "creating current directory alias for " << dt;});
+ // While this target is not explicitly mentioned in the buildfile, we say
+ // that we behave as if it were. Thus not implied.
+ //
target& ct (
targets.insert (dir::static_type,
scope_->out_path (),
dir_path (),
string (),
nullopt,
- false, // Enter as real (not implied).
+ false,
trace).first);
ct.prerequisites.emplace_back (prerequisite (dt));