diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-12 12:46:21 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-08-12 17:04:22 +0200 |
commit | 0fd7815cbc6557811df4f1b6ffb40461474b8534 (patch) | |
tree | f67b2d8a94f85027b3f1c98c4bf9acadd4b27d56 /build2/utility | |
parent | 9fa5f73d00905568e8979d0c93ec4a8f645c81d5 (diff) |
Implement c/cxx toolchain cross-hinting
Diffstat (limited to 'build2/utility')
-rw-r--r-- | build2/utility | 7 |
1 files changed, 7 insertions, 0 deletions
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: // |