diff options
| author | Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> | 2020-09-28 16:51:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-28 07:51:16 -0700 |
| commit | 0c1c43742dda69f9cc19c15e08592215c219bce9 (patch) | |
| tree | 0b952eb044d2c95c70fe28da0d4c23e6b59d8149 /toolsrc/include | |
| parent | 8776756e08dddfc47b209eebfec5c927f14c7c74 (diff) | |
| download | vcpkg-0c1c43742dda69f9cc19c15e08592215c219bce9.tar.gz vcpkg-0c1c43742dda69f9cc19c15e08592215c219bce9.zip | |
[vcpkg] add env var VCPKG_OVERLAY_TRIPLETS (#12790)
* [vcpkg] add env var VCPKG_OVERLAY_TRIPLETS
* shorten way to complicated doc
* run clang format
* Apply CR
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
* Apply CR2
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/base/strings.h | 2 | ||||
| -rw-r--r-- | toolsrc/include/vcpkg/vcpkgcmdarguments.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg/base/strings.h b/toolsrc/include/vcpkg/base/strings.h index 5042dd158..0962d6c1e 100644 --- a/toolsrc/include/vcpkg/base/strings.h +++ b/toolsrc/include/vcpkg/base/strings.h @@ -191,6 +191,8 @@ namespace vcpkg::Strings std::vector<std::string> split(StringView s, const char delimiter); + std::vector<std::string> split_paths(StringView s); + const char* find_first_of(StringView searched, StringView candidates); std::vector<StringView> find_all_enclosed(StringView input, StringView left_delim, StringView right_delim); diff --git a/toolsrc/include/vcpkg/vcpkgcmdarguments.h b/toolsrc/include/vcpkg/vcpkgcmdarguments.h index 626e598be..3901000e3 100644 --- a/toolsrc/include/vcpkg/vcpkgcmdarguments.h +++ b/toolsrc/include/vcpkg/vcpkgcmdarguments.h @@ -134,6 +134,7 @@ namespace vcpkg constexpr static StringLiteral OVERLAY_PORTS_ENV = "VCPKG_OVERLAY_PORTS"; constexpr static StringLiteral OVERLAY_PORTS_ARG = "overlay-ports"; std::vector<std::string> overlay_ports; + constexpr static StringLiteral OVERLAY_TRIPLETS_ENV = "VCPKG_OVERLAY_TRIPLETS"; constexpr static StringLiteral OVERLAY_TRIPLETS_ARG = "overlay-triplets"; std::vector<std::string> overlay_triplets; |
