aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/context.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-06-01 09:15:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-01 09:15:11 +0200
commitedbb2e3156714887b2334e5b6748f463e2d35ba3 (patch)
treee3bf7b21961ce01bde6d75b9507bc8a5c636e611 /libbuild2/context.cxx
parent8a8628cc5ca1ba198e96d7808afc5875a5043bbc (diff)
Extend target metadata to include variable prefix, stable name
Diffstat (limited to 'libbuild2/context.cxx')
-rw-r--r--libbuild2/context.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/context.cxx b/libbuild2/context.cxx
index a3455ea..202cd35 100644
--- a/libbuild2/context.cxx
+++ b/libbuild2/context.cxx
@@ -540,7 +540,7 @@ namespace build2
//
var_project = &vp.insert<project_name> ("project");
var_amalgamation = &vp.insert<dir_path> ("amalgamation");
- var_subprojects = &vp.insert ("subprojects");
+ var_subprojects = &vp.insert ("subprojects"); // Untyped.
var_version = &vp.insert<string> ("version");
var_project_url = &vp.insert<string> ("project.url");
@@ -549,7 +549,7 @@ namespace build2
var_import_target = &vp.insert<name> ("import.target");
var_import_metadata = &vp.insert<uint64_t> ("import.metadata");
- var_export_metadata = &vp.insert<uint64_t> ("export.metadata", v_t);
+ var_export_metadata = &vp.insert ("export.metadata", v_t); // Untyped.
var_extension = &vp.insert<string> ("extension", v_t);
var_clean = &vp.insert<bool> ("clean", v_t);