diff options
Diffstat (limited to 'toolsrc/include/vcpkg_System.h')
| -rw-r--r-- | toolsrc/include/vcpkg_System.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg_System.h b/toolsrc/include/vcpkg_System.h index bb478944a..71033a642 100644 --- a/toolsrc/include/vcpkg_System.h +++ b/toolsrc/include/vcpkg_System.h @@ -65,6 +65,18 @@ namespace vcpkg::System Optional<std::wstring> get_registry_string(HKEY base, const CWStringView subkey, const CWStringView valuename); + enum class CPUArchitecture + { + X86, + X64, + ARM, + ARM64, + }; + + Optional<CPUArchitecture> to_cpu_architecture(CStringView arch); + + CPUArchitecture get_host_processor(); + const fs::path& get_ProgramFiles_32_bit(); const fs::path& get_ProgramFiles_platform_bitness(); |
