From 0fd7815cbc6557811df4f1b6ffb40461474b8534 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 12 Aug 2016 12:46:21 +0200 Subject: Implement c/cxx toolchain cross-hinting --- build2/utility | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'build2/utility') diff --git a/build2/utility b/build2/utility index 3ecceed..a636c01 100644 --- a/build2/utility +++ b/build2/utility @@ -278,6 +278,13 @@ namespace build2 const cstrings&, bool = false); + // Apply the specified substitution (stem) to a '*'-pattern. If pattern + // is NULL, then return the stem itself. Assume the pattern is valid, + // i.e., contains a single '*' character. + // + string + apply_pattern (const char* stem, const string* pattern); + // Parse version string in the X.Y.Z[-{a|b}N] to a version integer in the // AABBCCDD form, where: // -- cgit v1.1