aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/vcpkg_Environment.h
blob: c2d2ed7ae697f1d0e6d9d4c25ecd600f2bee41bf (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
28
29
30
31
#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);

    const fs::path& get_ProgramFiles_32_bit();

    const fs::path& get_ProgramFiles_platform_bitness();
}