aboutsummaryrefslogtreecommitdiff
path: root/build2/version/init.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/version/init.cxx')
-rw-r--r--build2/version/init.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/build2/version/init.cxx b/build2/version/init.cxx
index 7d08642..c0ce4cd 100644
--- a/build2/version/init.cxx
+++ b/build2/version/init.cxx
@@ -272,6 +272,16 @@ namespace build2
}
}
+ // Enter variables. Note: some overridable, some not.
+ //
+ auto& vp (var_pool.rw (rs));
+
+ // Alternative variable substitution symbols.
+ //
+ // @@ Note: should be moved to the 'in' module once we have it.
+ //
+ m.in_symbol = &vp.insert<string> ("in.symbol");
+
// Register rules.
//
{