diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2017-03-31 17:40:08 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-31 17:40:08 -0700 |
| commit | 4792821a1d5d5fec764241f3d97284ec1579ce3a (patch) | |
| tree | 6c1652b91be5e65754cb297bc99229f1ada3cee8 /toolsrc/include | |
| parent | c84765601bbe49a6ec2e252ec681fe843212230f (diff) | |
| download | vcpkg-4792821a1d5d5fec764241f3d97284ec1579ce3a.tar.gz vcpkg-4792821a1d5d5fec764241f3d97284ec1579ce3a.zip | |
Move Environment:: functions into vcpkg_paths. Remove Environment.h/cpp
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg_Environment.h | 15 | ||||
| -rw-r--r-- | toolsrc/include/vcpkg_paths.h | 8 |
2 files changed, 8 insertions, 15 deletions
diff --git a/toolsrc/include/vcpkg_Environment.h b/toolsrc/include/vcpkg_Environment.h deleted file mode 100644 index 32ab28391..000000000 --- a/toolsrc/include/vcpkg_Environment.h +++ /dev/null @@ -1,15 +0,0 @@ -#pragma once -#include "vcpkg_paths.h" - -namespace vcpkg::Environment -{ - const fs::path& get_dumpbin_exe(const vcpkg_paths& paths); - - struct vcvarsall_and_platform_toolset - { - fs::path path; - std::wstring platform_toolset; - }; - - const vcvarsall_and_platform_toolset& get_vcvarsall_bat(const vcpkg_paths& paths); -} diff --git a/toolsrc/include/vcpkg_paths.h b/toolsrc/include/vcpkg_paths.h index ae91a8e2f..9577abd01 100644 --- a/toolsrc/include/vcpkg_paths.h +++ b/toolsrc/include/vcpkg_paths.h @@ -7,6 +7,12 @@ namespace vcpkg { + struct vcvarsall_and_platform_toolset + { + fs::path path; + std::wstring platform_toolset; + }; + struct vcpkg_paths { static expected<vcpkg_paths> create(const fs::path& vcpkg_root_dir); @@ -40,6 +46,8 @@ namespace vcpkg const fs::path& get_cmake_exe() const; const fs::path& get_git_exe() const; const fs::path& get_nuget_exe() const; + const fs::path& get_dumpbin_exe() const; + const vcvarsall_and_platform_toolset& get_vcvarsall_bat() const; private: lazy<fs::path> cmake_exe; |
