2016-09-19 11:50:08 +08:00
|
|
|
#pragma once
|
|
|
|
#include "vcpkg_paths.h"
|
|
|
|
|
2017-01-06 06:14:11 +08:00
|
|
|
namespace vcpkg::Environment
|
2016-09-19 11:50:08 +08: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-24 07:15:26 +08:00
|
|
|
|
|
|
|
const fs::path& get_dumpbin_exe(const vcpkg_paths& paths);
|
2017-01-24 08:15:30 +08:00
|
|
|
|
2017-01-24 11: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-01-06 06:14:11 +08:00
|
|
|
}
|