| 1326 | } |
| 1327 | |
| 1328 | std::string cmGlobalVisualStudio10Generator::GetApplicationTypeRevision() const |
| 1329 | { |
| 1330 | if (this->GetSystemName() == "Android"_s) { |
| 1331 | return this->GetAndroidApplicationTypeRevision(); |
| 1332 | } |
| 1333 | |
| 1334 | // Return the first two '.'-separated components of the Windows version. |
| 1335 | std::string::size_type end1 = this->SystemVersion.find('.'); |
| 1336 | std::string::size_type end2 = |
| 1337 | end1 == std::string::npos ? end1 : this->SystemVersion.find('.', end1 + 1); |
| 1338 | return this->SystemVersion.substr(0, end2); |
| 1339 | } |
| 1340 | |
| 1341 | static std::string cmLoadFlagTableString(Json::Value entry, char const* field) |
| 1342 | { |
no test coverage detected