diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2018-03-10 14:19:07 -0800 |
|---|---|---|
| committer | Robert Schumacher <roschuma@microsoft.com> | 2018-03-10 14:19:51 -0800 |
| commit | 6670b87c18c544bbc9fa167f583b27dc52bce3d9 (patch) | |
| tree | 33de58b013854ca17af97e12de5d4a38381ee108 /toolsrc/include | |
| parent | b7daa881f5941f7b4aaf7d8ad667b5a761c9b4cc (diff) | |
| download | vcpkg-6670b87c18c544bbc9fa167f583b27dc52bce3d9.tar.gz vcpkg-6670b87c18c544bbc9fa167f583b27dc52bce3d9.zip | |
[vcpkg] Add VCPKG_DEFAULT_VS_PATH environment variable
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/vcpkgpaths.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/toolsrc/include/vcpkg/vcpkgpaths.h b/toolsrc/include/vcpkg/vcpkgpaths.h index 84e8110ec..71f1bbba9 100644 --- a/toolsrc/include/vcpkg/vcpkgpaths.h +++ b/toolsrc/include/vcpkg/vcpkgpaths.h @@ -33,7 +33,7 @@ namespace vcpkg struct VcpkgPaths { - static Expected<VcpkgPaths> create(const fs::path& vcpkg_root_dir); + static Expected<VcpkgPaths> create(const fs::path& vcpkg_root_dir, const std::string& default_vs_path); fs::path package_dir(const PackageSpec& spec) const; fs::path port_dir(const PackageSpec& spec) const; @@ -90,5 +90,7 @@ namespace vcpkg Lazy<fs::path> ifw_repogen_exe; Lazy<std::vector<Toolset>> toolsets; Lazy<std::vector<Toolset>> toolsets_vs2013; + + fs::path default_vs_path; }; } |
