aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/config/operation.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-04-04 13:11:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-04-04 13:11:56 +0200
commit5e51d523e71231cb190e9ed981962df527f4ee7e (patch)
tree1ca26842d0629d23feb10c498364758a90f2dd68 /libbuild2/config/operation.hxx
parentb3bc26dc284cf73e97b88c9979d49368d07e686c (diff)
Add base functionality for hermetic build configurationshermetic
Diffstat (limited to 'libbuild2/config/operation.hxx')
-rw-r--r--libbuild2/config/operation.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/libbuild2/config/operation.hxx b/libbuild2/config/operation.hxx
index a887eb7..ded3c8b 100644
--- a/libbuild2/config/operation.hxx
+++ b/libbuild2/config/operation.hxx
@@ -15,6 +15,8 @@ namespace build2
{
namespace config
{
+ class module;
+
extern const meta_operation_info mo_configure;
extern const meta_operation_info mo_disfigure;
@@ -37,7 +39,12 @@ namespace build2
save_config (const scope& rs,
ostream&, const path_name&,
bool inherit,
+ module&,
const project_set&);
+
+ // See config.config.hermetic.environment.
+ //
+ using hermetic_environment = vector<pair<string, optional<bool>>>;
}
}