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

Method GetVSInstanceVersion

Source/cmVSSetupHelper.cxx:267–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267bool cmVSSetupAPIHelper::GetVSInstanceVersion(std::string& vsInstanceVersion)
268{
269 vsInstanceVersion.clear();
270 bool isInstalled = this->EnumerateAndChooseVSInstance();
271
272 if (isInstalled) {
273 vsInstanceVersion = chosenInstanceInfo.Version;
274 }
275
276 return isInstalled;
277}
278
279bool cmVSSetupAPIHelper::GetVCToolsetVersion(std::string& vsToolsetVersion)
280{

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45

Tested by

no test coverage detected