aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlbert Ziegenhagel <albert.ziegenhagel@outlook.com>2017-06-02 18:13:12 +0200
committerAlbert Ziegenhagel <albert.ziegenhagel@outlook.com>2017-06-02 18:13:12 +0200
commit1253b875195590e528d8a28e12a798264603ba43 (patch)
tree1437afe08ae54110f42c442bcb0d8a487cd01367 /toolsrc/include
parent3ebcdd384b58ff5d5f92996a6eb2e9fed0be1710 (diff)
downloadvcpkg-1253b875195590e528d8a28e12a798264603ba43.tar.gz
vcpkg-1253b875195590e528d8a28e12a798264603ba43.zip
Implement support to request a specific toolset version via the variable `VCPKG_PLATFORM_TOOLSET` in the triplet file
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/VcpkgPaths.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/toolsrc/include/VcpkgPaths.h b/toolsrc/include/VcpkgPaths.h
index 25c1728b9..ca03f0e2a 100644
--- a/toolsrc/include/VcpkgPaths.h
+++ b/toolsrc/include/VcpkgPaths.h
@@ -48,7 +48,10 @@ namespace vcpkg
const fs::path& get_cmake_exe() const;
const fs::path& get_git_exe() const;
const fs::path& get_nuget_exe() const;
- const Toolset& get_toolset() const;
+ const std::vector<Toolset>& get_toolsets() const;
+
+ const Toolset& get_latest_toolset() const;
+ const Toolset& get_toolset(const std::string& toolset_version) const;
Files::Filesystem& get_filesystem() const;
@@ -56,6 +59,6 @@ namespace vcpkg
Lazy<fs::path> cmake_exe;
Lazy<fs::path> git_exe;
Lazy<fs::path> nuget_exe;
- Lazy<Toolset> toolset;
+ Lazy<std::vector<Toolset>> toolsets;
};
}