aboutsummaryrefslogtreecommitdiff
path: root/build2/context.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-11-02 12:44:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-11-02 12:44:17 +0200
commite78c6c8dd0d4fb66b888c962d50da33c6704c395 (patch)
tree6ec460e830ec463c91f2b996745241da7b292d26 /build2/context.hxx
parent009e3bdd4743fb6bb74334ec5567f43830df1722 (diff)
Use rule-specific variables for backlink value
Diffstat (limited to 'build2/context.hxx')
-rw-r--r--build2/context.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/build2/context.hxx b/build2/context.hxx
index cf7eee6..0675e6c 100644
--- a/build2/context.hxx
+++ b/build2/context.hxx
@@ -287,6 +287,8 @@ namespace build2
// copy - make a copy.
// overwrite - copy over but don't remove on clean (committed gen code).
//
+ // Note that it can be set by a matching rule as a rule-specific variable.
+ //
extern const variable* var_backlink; // [string] target visibility
// Prerequisite inclusion/exclusion. Valid values are: