2016-09-18 20:50:08 -07:00
|
|
|
#pragma once
|
|
|
|
#include "vcpkg_paths.h"
|
|
|
|
|
2017-01-05 14:14:11 -08:00
|
|
|
namespace vcpkg::Environment
|
2016-09-18 20:50:08 -07:00
|
|
|
{
|
|
|
|
void ensure_nuget_on_path(const vcpkg_paths& paths);
|
|
|
|
|
|
|
|
void ensure_git_on_path(const vcpkg_paths& paths);
|
|
|
|
|
|
|
|
void ensure_cmake_on_path(const vcpkg_paths& paths);
|
|
|
|
|
|
|
|
inline void ensure_utilities_on_path(const vcpkg_paths& paths)
|
|
|
|
{
|
|
|
|
ensure_cmake_on_path(paths);
|
|
|
|
ensure_git_on_path(paths);
|
|
|
|
}
|
2017-01-23 15:15:26 -08:00
|
|
|
|
|
|
|
const fs::path& get_dumpbin_exe(const vcpkg_paths& paths);
|
2017-01-23 16:15:30 -08:00
|
|
|
|
2017-01-23 19:25:47 -08:00
|
|
|
struct vcvarsall_and_platform_toolset
|
|
|
|
{
|
|
|
|
fs::path path;
|
|
|
|
std::wstring platform_toolset;
|
|
|
|
};
|
|
|
|
|
|
|
|
const vcvarsall_and_platform_toolset& get_vcvarsall_bat(const vcpkg_paths& paths);
|
2017-02-14 16:23:02 -08:00
|
|
|
|
|
|
|
const fs::path& get_ProgramFiles_32_bit();
|
|
|
|
|
2017-02-14 16:57:34 -08:00
|
|
|
const fs::path& get_ProgramFiles_platform_bitness();
|
2017-01-05 14:14:11 -08:00
|
|
|
}
|