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

Function VSHostArchitecture

Source/cmGlobalVisualStudioVersionedGenerator.cxx:105–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105static std::string VSHostArchitecture(
106 cmGlobalVisualStudioGenerator::VSVersion v)
107{
108 if (VSIsArm64Host()) {
109 return v >= cmGlobalVisualStudioGenerator::VSVersion::VS17 ? "ARM64" : "";
110 }
111 if (VSIsWow64()) {
112 return "x64";
113 }
114#if defined(_M_ARM)
115 return "";
116#elif defined(_M_IA64)
117 return "";
118#elif defined(_WIN64)
119 return "x64";
120#else
121 return "x86";
122#endif
123}
124
125static unsigned int VSVersionToMajor(
126 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…