diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-10-15 23:24:34 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-10-15 23:24:34 -0700 |
| commit | b486be5eb3b12c0a6fa0a81992768340317ec5c2 (patch) | |
| tree | 83f1b11ad05c83be3b7f5036989f6fdec911442e /toolsrc/include | |
| parent | 6942c00a453c9fa4f9fbde7ba821974110b43d57 (diff) | |
| download | vcpkg-b486be5eb3b12c0a6fa0a81992768340317ec5c2.tar.gz vcpkg-b486be5eb3b12c0a6fa0a81992768340317ec5c2.zip | |
Introduce VcpkgPaths::get_available_triplets()
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/vcpkgpaths.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg/vcpkgpaths.h b/toolsrc/include/vcpkg/vcpkgpaths.h index fb9285a84..32dd2e833 100644 --- a/toolsrc/include/vcpkg/vcpkgpaths.h +++ b/toolsrc/include/vcpkg/vcpkgpaths.h @@ -36,6 +36,7 @@ namespace vcpkg fs::path build_info_file_path(const PackageSpec& spec) const; fs::path listfile_path(const BinaryParagraph& pgh) const; + const std::vector<std::string>& get_available_triplets() const; bool is_valid_triplet(const Triplet& t) const; fs::path root; @@ -74,6 +75,7 @@ namespace vcpkg Files::Filesystem& get_filesystem() const; private: + Lazy<std::vector<std::string>> available_triplets; Lazy<fs::path> cmake_exe; Lazy<fs::path> git_exe; Lazy<fs::path> nuget_exe; |
