aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/config/operation.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/config/operation.hxx')
-rw-r--r--libbuild2/config/operation.hxx15
1 files changed, 10 insertions, 5 deletions
diff --git a/libbuild2/config/operation.hxx b/libbuild2/config/operation.hxx
index a887eb7..1662941 100644
--- a/libbuild2/config/operation.hxx
+++ b/libbuild2/config/operation.hxx
@@ -4,8 +4,6 @@
#ifndef LIBBUILD2_CONFIG_OPERATION_HXX
#define LIBBUILD2_CONFIG_OPERATION_HXX
-#include <set>
-
#include <libbuild2/types.hxx>
#include <libbuild2/utility.hxx>
@@ -15,8 +13,10 @@ namespace build2
{
namespace config
{
- extern const meta_operation_info mo_configure;
- extern const meta_operation_info mo_disfigure;
+ class module;
+
+ LIBBUILD2_SYMEXPORT extern const meta_operation_info mo_configure;
+ LIBBUILD2_SYMEXPORT extern const meta_operation_info mo_disfigure;
const string&
preprocess_create (context&,
@@ -27,7 +27,7 @@ namespace build2
// Configuration exporting.
//
- using project_set = std::set<const scope*>; // Pointers for comparison.
+ using project_set = set<const scope*>; // Pointers for comparison.
// If inherit is false, then don't rely on inheritance from outer scopes
// (used for config.config.save/$config.save()). In this case the already
@@ -37,7 +37,12 @@ namespace build2
save_config (const scope& rs,
ostream&, const path_name&,
bool inherit,
+ const module&,
const project_set&);
+
+ // See config.config.hermetic.environment.
+ //
+ using hermetic_environment = vector<pair<string, optional<bool>>>;
}
}