Adjust to public/private variable model

This commit is contained in:
Boris Kolpackov 2022-10-13 08:13:50 +02:00
parent 7d68b0c733
commit 59aa76ace3

View File

@ -33,7 +33,10 @@ namespace build2
// Enter variables. // Enter variables.
// //
{ {
auto& vp (rs.var_pool ()); // All the variables we enter are qualified so go straight for the
// public variable pool.
//
auto& vp (rs.var_pool (true /* public */));
// Configuration file flavor. Valid values are `autoconf` (default), // Configuration file flavor. Valid values are `autoconf` (default),
// `cmake`, and `meson`. // `cmake`, and `meson`.