aboutsummaryrefslogtreecommitdiff
path: root/build2/target.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-10-16 13:21:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:21 +0200
commitd81ad6a0b20613ac77e115ca273cd48eaeeae1c8 (patch)
tree99fbfd0ab131ead133925ba46786c0db453d5fdf /build2/target.cxx
parentd27a6011a1768c7311ae6911c53dd49c293a24af (diff)
Add target::out_dir() accessor
Diffstat (limited to 'build2/target.cxx')
-rw-r--r--build2/target.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/target.cxx b/build2/target.cxx
index 540f4b4..3b6e06f 100644
--- a/build2/target.cxx
+++ b/build2/target.cxx
@@ -110,7 +110,7 @@ namespace build2
// If this target is from the src tree, use its out directory to find
// the scope.
//
- return scopes.find (out.empty () ? dir : out);
+ return scopes.find (out_dir ());
}
scope& target::