aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/context.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-06-09 07:40:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-09 07:40:54 +0200
commitb8cffb11a45add241e4b8420ba96e116efccfbd9 (patch)
tree70bc6987e60c7415b351111517a4bc7eea74f93c /libbuild2/context.hxx
parentdd1cb295722a049fe21c8d0311cb1823ccb0e508 (diff)
Make metadata variable prefix mandatory
While we could automatically set it if the target is imported, there is nothing we can do if the target is used in the same project. So to avoid confusion we make it mandatory.
Diffstat (limited to 'libbuild2/context.hxx')
-rw-r--r--libbuild2/context.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/libbuild2/context.hxx b/libbuild2/context.hxx
index e4d4d4c..a8b6b01 100644
--- a/libbuild2/context.hxx
+++ b/libbuild2/context.hxx
@@ -363,10 +363,8 @@ namespace build2
// if not requested (but only in version 1). The exporter should also set
// the returned version as the target-specific export.metadata variable.
//
- // The export.metadata value should start with the version optionally
- // followed by the metadata variable prefix (for example, cli in
- // cli.version). If the variable prefix is missing, it is assumed to be
- // the target name as imported.
+ // The export.metadata value should start with the version followed by the
+ // metadata variable prefix (for example, cli in cli.version).
//
// The following metadata variable names have pre-defined meaning:
//