diff options
| author | Alexander Neumann <30894796+Neumann-A@users.noreply.github.com> | 2020-08-05 20:21:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-05 11:21:42 -0700 |
| commit | 4fb846bd44e375a5d59f80fa820aa1e7f2f1dcce (patch) | |
| tree | ee1ddffdef70d89cb32a6251b2bc69d3eca53869 /toolsrc/include | |
| parent | c72091e7f6e15e8e667794b1c7063260f3a6c820 (diff) | |
| download | vcpkg-4fb846bd44e375a5d59f80fa820aa1e7f2f1dcce.tar.gz vcpkg-4fb846bd44e375a5d59f80fa820aa1e7f2f1dcce.zip | |
[vcpkg] add environment variable VCPKG_OVERLAY_PORTS (#12640)
* [vcpkg] add environment variable VCPKG_OVERLAY_PORTS
* add documentation for VCPKG_OVERLAY_PORTS
* append env overlay instead of prepending to give explicitly listed overlays priority
* fix formating (manually)
* manually fixing formating
* improve help text
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
Co-authored-by: ras0219 <533828+ras0219@users.noreply.github.com>
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/vcpkgcmdarguments.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg/vcpkgcmdarguments.h b/toolsrc/include/vcpkg/vcpkgcmdarguments.h index ddc407a35..82c4f6dc2 100644 --- a/toolsrc/include/vcpkg/vcpkgcmdarguments.h +++ b/toolsrc/include/vcpkg/vcpkgcmdarguments.h @@ -130,6 +130,7 @@ namespace vcpkg constexpr static StringLiteral TRIPLET_ENV = "VCPKG_DEFAULT_TRIPLET"; constexpr static StringLiteral TRIPLET_ARG = "triplet"; std::unique_ptr<std::string> triplet; + 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_ARG = "overlay-triplets"; |
