From 0c1c43742dda69f9cc19c15e08592215c219bce9 Mon Sep 17 00:00:00 2001 From: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> Date: Mon, 28 Sep 2020 16:51:16 +0200 Subject: [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 Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com> Co-authored-by: nicole mazzuca Co-authored-by: Billy Robert O'Neal III Co-authored-by: Robert Schumacher --- toolsrc/include/vcpkg/base/strings.h | 2 ++ toolsrc/include/vcpkg/vcpkgcmdarguments.h | 1 + 2 files changed, 3 insertions(+) (limited to 'toolsrc/include') 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 split(StringView s, const char delimiter); + std::vector split_paths(StringView s); + const char* find_first_of(StringView searched, StringView candidates); std::vector 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 overlay_ports; + constexpr static StringLiteral OVERLAY_TRIPLETS_ENV = "VCPKG_OVERLAY_TRIPLETS"; constexpr static StringLiteral OVERLAY_TRIPLETS_ARG = "overlay-triplets"; std::vector overlay_triplets; -- cgit v1.2.3