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

Method SetVSInstance

Source/cmVSSetupHelper.cxx:115–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115bool cmVSSetupAPIHelper::SetVSInstance(std::string const& vsInstallLocation,
116 std::string const& vsInstallVersion)
117{
118 this->SpecifiedVSInstallLocation = vsInstallLocation;
119 cmSystemTools::ConvertToUnixSlashes(this->SpecifiedVSInstallLocation);
120 this->SpecifiedVSInstallVersion = vsInstallVersion;
121 chosenInstanceInfo = VSInstanceInfo();
122 return this->EnumerateAndChooseVSInstance();
123}
124
125bool cmVSSetupAPIHelper::IsVSInstalled()
126{

Callers 1

SetGeneratorInstanceMethod · 0.80

Calls 2

VSInstanceInfoClass · 0.85

Tested by

no test coverage detected