MCPcopy Create free account
hub / github.com/Kitware/CMake / VSHostPlatformName

Function VSHostPlatformName

Source/cmGlobalVisualStudioVersionedGenerator.cxx:86–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86static std::string VSHostPlatformName()
87{
88 if (VSIsArm64Host()) {
89 return "ARM64";
90 }
91 if (VSIsWow64()) {
92 return "x64";
93 }
94#if defined(_M_ARM)
95 return "ARM";
96#elif defined(_M_IA64)
97 return "Itanium";
98#elif defined(_WIN64)
99 return "x64";
100#else
101 return "Win32";
102#endif
103}
104
105static std::string VSHostArchitecture(
106 cmGlobalVisualStudioGenerator::VSVersion v)

Calls 2

VSIsArm64HostFunction · 0.85
VSIsWow64Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…