aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/VcpkgPaths.h8
-rw-r--r--toolsrc/include/vcpkg_System.h2
2 files changed, 10 insertions, 0 deletions
diff --git a/toolsrc/include/VcpkgPaths.h b/toolsrc/include/VcpkgPaths.h
index e4e7ba83d..d55c95fe1 100644
--- a/toolsrc/include/VcpkgPaths.h
+++ b/toolsrc/include/VcpkgPaths.h
@@ -8,11 +8,19 @@
namespace vcpkg
{
+ struct ToolsetArchOption
+ {
+ CWStringView name;
+ System::CPUArchitecture host_arch;
+ System::CPUArchitecture target_arch;
+ };
+
struct Toolset
{
fs::path dumpbin;
fs::path vcvarsall;
CWStringView version;
+ std::vector<ToolsetArchOption> supported_architectures;
};
struct VcpkgPaths
diff --git a/toolsrc/include/vcpkg_System.h b/toolsrc/include/vcpkg_System.h
index 2ea0241f6..32da6e39c 100644
--- a/toolsrc/include/vcpkg_System.h
+++ b/toolsrc/include/vcpkg_System.h
@@ -77,6 +77,8 @@ namespace vcpkg::System
CPUArchitecture get_host_processor();
+ std::vector<CPUArchitecture> get_supported_host_architectures();
+
const fs::path& get_ProgramFiles_32_bit();
const fs::path& get_ProgramFiles_platform_bitness();