diff options
| author | ras0219 <533828+ras0219@users.noreply.github.com> | 2020-07-13 12:03:53 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-13 12:03:53 -0700 |
| commit | 52a9d9a9e481f835e9c3b9ba028ff2f833cb3624 (patch) | |
| tree | a4828a1afb468750ec2b94f297dd48c53beebcbe /toolsrc/include | |
| parent | f4b66c5e2bea02aaa9569b5369e3af3bb0bf737c (diff) | |
| download | vcpkg-52a9d9a9e481f835e9c3b9ba028ff2f833cb3624.tar.gz vcpkg-52a9d9a9e481f835e9c3b9ba028ff2f833cb3624.zip | |
[vcpkg] Enable binary caching by default (#12370)
* [vcpkg] Enable binary caching by default. Support `x-` migration.
Fix passing multiple copies of single parameter arguments.
* [vcpkg] Handle x- prefixes for general arguments
* [vcpkg] Fix #12285 and improve documentation of default binary cache path
* [vcpkg] Revert x- prefix homogenization for per-command arguments
* [vcpkg] Only use accelerated compiler detection for Windows Desktop + Ninja. Improve breadcrumbs for users encountering issues.
* [vcpkg] Fix compiler tracking not pre-downloading Ninja. Fix compiler tracking not looking in -err.log.
* [vcpkg] Update toolsrc/src/vcpkg/binarycaching.cpp
Co-authored-by: Billy O'Neal <bion@microsoft.com>
* [vcpkg] Format
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Co-authored-by: Billy O'Neal <bion@microsoft.com>
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/vcpkgcmdarguments.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolsrc/include/vcpkg/vcpkgcmdarguments.h b/toolsrc/include/vcpkg/vcpkgcmdarguments.h index 6973311b0..8cf0680b9 100644 --- a/toolsrc/include/vcpkg/vcpkgcmdarguments.h +++ b/toolsrc/include/vcpkg/vcpkgcmdarguments.h @@ -135,7 +135,7 @@ namespace vcpkg constexpr static StringLiteral OVERLAY_TRIPLETS_ARG = "overlay-triplets"; std::vector<std::string> overlay_triplets; - constexpr static StringLiteral BINARY_SOURCES_ARG = "x-binarysource"; + constexpr static StringLiteral BINARY_SOURCES_ARG = "binarysource"; std::vector<std::string> binary_sources; constexpr static StringLiteral DEBUG_SWITCH = "debug"; @@ -166,8 +166,8 @@ namespace vcpkg constexpr static StringLiteral MANIFEST_MODE_FEATURE = "manifests"; Optional<bool> manifest_mode = nullopt; - bool binary_caching_enabled() const { return binary_caching.value_or(false); } - bool compiler_tracking_enabled() const { return compiler_tracking.value_or(false); } + bool binary_caching_enabled() const { return binary_caching.value_or(true); } + bool compiler_tracking_enabled() const { return compiler_tracking.value_or(true); } std::string command; std::vector<std::string> command_arguments; |
