aboutsummaryrefslogtreecommitdiff
path: root/build2/dist
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-03-31 09:01:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-03-31 09:01:50 +0200
commit6417a4e6af2b7732ec0da6af24f1a56f7cdada3f (patch)
tree58ffae7ef0cdac55acd6d498dfc66ce0967f4e9a /build2/dist
parent31bd69c56bc29ec1c154a7c0623b6f0ccce78af1 (diff)
Set part of variable override implementation
Diffstat (limited to 'build2/dist')
-rw-r--r--build2/dist/module.cxx18
1 files changed, 10 insertions, 8 deletions
diff --git a/build2/dist/module.cxx b/build2/dist/module.cxx
index ab8c5a3..4b68bb8 100644
--- a/build2/dist/module.cxx
+++ b/build2/dist/module.cxx
@@ -39,18 +39,20 @@ namespace build2
{
auto& v (var_pool);
- v.find<bool> ("dist");
+ // @@ OVR
- v.find<string> ("dist.package");
+ v.insert<bool> ("dist");
- v.find<dir_path> ("dist.root");
- v.find<dir_path> ("config.dist.root");
+ v.insert<string> ("dist.package");
- v.find<path> ("dist.cmd");
- v.find<path> ("config.dist.cmd");
+ v.insert<dir_path> ("dist.root");
+ v.insert<dir_path> ("config.dist.root");
- v.find<strings> ("dist.archives");
- v.find<strings> ("config.dist.archives");
+ v.insert<path> ("dist.cmd");
+ v.insert<path> ("config.dist.cmd");
+
+ v.insert<strings> ("dist.archives");
+ v.insert<strings> ("config.dist.archives");
}
}