aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/c
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/c')
-rw-r--r--libbuild2/c/init.cxx16
1 files changed, 11 insertions, 5 deletions
diff --git a/libbuild2/c/init.cxx b/libbuild2/c/init.cxx
index 4d59eb2..bec20b5 100644
--- a/libbuild2/c/init.cxx
+++ b/libbuild2/c/init.cxx
@@ -220,11 +220,17 @@ namespace build2
v.insert<string> ("c.class"),
- v.insert<string> ("c.version"),
- v.insert<uint64_t> ("c.version.major"),
- v.insert<uint64_t> ("c.version.minor"),
- v.insert<uint64_t> ("c.version.patch"),
- v.insert<string> ("c.version.build"),
+ &v.insert<string> ("c.version"),
+ &v.insert<uint64_t> ("c.version.major"),
+ &v.insert<uint64_t> ("c.version.minor"),
+ &v.insert<uint64_t> ("c.version.patch"),
+ &v.insert<string> ("c.version.build"),
+
+ &v.insert<string> ("c.variant_version"),
+ &v.insert<uint64_t> ("c.variant_version.major"),
+ &v.insert<uint64_t> ("c.variant_version.minor"),
+ &v.insert<uint64_t> ("c.variant_version.patch"),
+ &v.insert<string> ("c.variant_version.build"),
v.insert<string> ("c.signature"),
v.insert<string> ("c.checksum"),