diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-03-31 09:01:50 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-03-31 09:01:50 +0200 |
commit | 6417a4e6af2b7732ec0da6af24f1a56f7cdada3f (patch) | |
tree | 58ffae7ef0cdac55acd6d498dfc66ce0967f4e9a /build2/cxx | |
parent | 31bd69c56bc29ec1c154a7c0623b6f0ccce78af1 (diff) |
Set part of variable override implementation
Diffstat (limited to 'build2/cxx')
-rw-r--r-- | build2/cxx/module.cxx | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/build2/cxx/module.cxx b/build2/cxx/module.cxx index 7b0f04e..aac2af0 100644 --- a/build2/cxx/module.cxx +++ b/build2/cxx/module.cxx @@ -62,24 +62,26 @@ namespace build2 { auto& v (var_pool); - v.find<path> ("config.cxx"); + // @@ OVR - v.find<strings> ("config.cxx.poptions"); - v.find<strings> ("config.cxx.coptions"); - v.find<strings> ("config.cxx.loptions"); - v.find<strings> ("config.cxx.libs"); + v.insert<path> ("config.cxx", true); - v.find<strings> ("cxx.poptions"); - v.find<strings> ("cxx.coptions"); - v.find<strings> ("cxx.loptions"); - v.find<strings> ("cxx.libs"); + v.insert<strings> ("config.cxx.poptions"); + v.insert<strings> ("config.cxx.coptions"); + v.insert<strings> ("config.cxx.loptions"); + v.insert<strings> ("config.cxx.libs"); - v.find<strings> ("cxx.export.poptions"); - v.find<strings> ("cxx.export.coptions"); - v.find<strings> ("cxx.export.loptions"); - v.find<strings> ("cxx.export.libs"); + v.insert<strings> ("cxx.poptions"); + v.insert<strings> ("cxx.coptions"); + v.insert<strings> ("cxx.loptions"); + v.insert<strings> ("cxx.libs"); - v.find<string> ("cxx.std"); + v.insert<strings> ("cxx.export.poptions"); + v.insert<strings> ("cxx.export.coptions"); + v.insert<strings> ("cxx.export.loptions"); + v.insert<strings> ("cxx.export.libs"); + + v.insert<string> ("cxx.std"); } // Register target types. |