vcpkg-tool/include/vcpkg/visualstudio.h

36 строки
681 B
C++

#pragma once
#include <vcpkg/base/fwd/messages.h>
#include <vcpkg/fwd/vcpkgpaths.h>
#include <vcpkg/base/files.h>
#include <string>
#include <vector>
namespace vcpkg
{
struct ToolsetsInformation
{
std::vector<Toolset> toolsets;
#if defined(_WIN32)
std::vector<Path> paths_examined;
std::vector<Toolset> excluded_toolsets;
LocalizedString get_localized_debug_info() const;
#endif
};
}
#if defined(_WIN32)
namespace vcpkg::VisualStudio
{
std::vector<std::string> get_visual_studio_instances(const ReadOnlyFilesystem& fs);
ToolsetsInformation find_toolset_instances_preferred_first(const ReadOnlyFilesystem& fs);
}
#endif