aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-29 08:41:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-29 08:41:47 +0200
commit9f0bac92ada2a83e3a438e3fef28a6ed867710de (patch)
treee20ac0d537d613d83dde889cd254290a08153f7e
parent0f50bbee8216813e0d4d8b72b7ae3624f55a4742 (diff)
Move work, home to build. namespace
-rw-r--r--build2/context.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/build2/context.cxx b/build2/context.cxx
index 87a6d71..d8921e4 100644
--- a/build2/context.cxx
+++ b/build2/context.cxx
@@ -61,8 +61,8 @@ namespace build2
{
auto& v (var_pool);
- v.find ("work", dir_path_type);
- v.find ("home", dir_path_type);
+ v.find ("build.work", dir_path_type);
+ v.find ("build.home", dir_path_type);
v.find ("src_root", dir_path_type);
v.find ("out_root", dir_path_type);
@@ -86,8 +86,8 @@ namespace build2
global_scope = scopes.insert (
dir_path ("/"), nullptr, true, false)->second;
- global_scope->assign ("work") = work;
- global_scope->assign ("home") = home;
+ global_scope->assign ("build.work") = work;
+ global_scope->assign ("build.home") = home;
// Register builtin target types.
//