aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/vcpkg_Environment.h
blob: e4dd47472c010d00f3d70006f370a628f206a135 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once
#include "vcpkg_paths.h"

namespace vcpkg::Environment
{
    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);
    }

    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);
}