diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-06-05 22:01:41 -0700 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2017-06-05 22:01:41 -0700 |
| commit | 60825eed0e8b8c7646d0e66bc2743b4a1e8e4a96 (patch) | |
| tree | 1a838f6b271e89d3157f66a64de0ecf4c6e9b120 /toolsrc/include | |
| parent | 1253b875195590e528d8a28e12a798264603ba43 (diff) | |
| download | vcpkg-60825eed0e8b8c7646d0e66bc2743b4a1e8e4a96.tar.gz vcpkg-60825eed0e8b8c7646d0e66bc2743b4a1e8e4a96.zip | |
[vcpkg] Formatting and simplification of VcpkgPaths::get_toolset()
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/VcpkgPaths.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/toolsrc/include/VcpkgPaths.h b/toolsrc/include/VcpkgPaths.h index ca03f0e2a..95cd4bc28 100644 --- a/toolsrc/include/VcpkgPaths.h +++ b/toolsrc/include/VcpkgPaths.h @@ -48,9 +48,11 @@ namespace vcpkg const fs::path& get_cmake_exe() const; const fs::path& get_git_exe() const; const fs::path& get_nuget_exe() const; - const std::vector<Toolset>& get_toolsets() const; - const Toolset& get_latest_toolset() const; + /// <summary>Retrieve a toolset matching a VS version</summary> + /// <remarks> + /// Valid version strings are "v140", "v141", and "". Empty string gets the latest. + /// </remarks> const Toolset& get_toolset(const std::string& toolset_version) const; Files::Filesystem& get_filesystem() const; |
