aboutsummaryrefslogtreecommitdiff
path: root/mod/build-config.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/build-config.hxx')
-rw-r--r--mod/build-config.hxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/mod/build-config.hxx b/mod/build-config.hxx
index e7ee9eb..a6f9902 100644
--- a/mod/build-config.hxx
+++ b/mod/build-config.hxx
@@ -80,6 +80,17 @@ namespace brep
{
return exclude (p.builds, p.constraints, c, r);
}
+
+ // Convert the build configuration name, target, machine name or their
+ // pattern into path, replacing dashes with slashes and double stars with
+ // the `*/**/*` substring for a subsequent match using our path_match()
+ // functionality. Throw invalid_path if the resulting path is invalid.
+ //
+ // Note that it is assumed that the match_absent path match flag will be
+ // used for matching for the double star replacement to make sense.
+ //
+ path
+ from_build_config_name (const string&);
}
#endif // MOD_BUILD_CONFIG_HXX