| 113 | } |
| 114 | |
| 115 | bool 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 | |
| 125 | bool cmVSSetupAPIHelper::IsVSInstalled() |
| 126 | { |
no test coverage detected