| 1702 | } |
| 1703 | |
| 1704 | void cmVisualStudio10TargetGenerator::WriteAndroidConfigurationValues( |
| 1705 | Elem& e1, std::string const&) |
| 1706 | { |
| 1707 | cmGlobalVisualStudio10Generator* gg = this->GlobalGenerator; |
| 1708 | if (cmValue projectToolsetOverride = |
| 1709 | this->GeneratorTarget->GetProperty("VS_PLATFORM_TOOLSET")) { |
| 1710 | e1.Element("PlatformToolset", *projectToolsetOverride); |
| 1711 | } else if (char const* toolset = gg->GetPlatformToolset()) { |
| 1712 | e1.Element("PlatformToolset", toolset); |
| 1713 | } |
| 1714 | if (cmValue stlType = |
| 1715 | this->GeneratorTarget->GetProperty("ANDROID_STL_TYPE")) { |
| 1716 | if (*stlType != "none"_s) { |
| 1717 | e1.Element("UseOfStl", *stlType); |
| 1718 | } |
| 1719 | } |
| 1720 | std::string const& apiLevel = gg->GetSystemVersion(); |
| 1721 | if (!apiLevel.empty()) { |
| 1722 | e1.Element("AndroidAPILevel", cmStrCat("android-", apiLevel)); |
| 1723 | } |
| 1724 | } |
| 1725 | |
| 1726 | void cmVisualStudio10TargetGenerator::WriteCustomCommands(Elem& e0) |
| 1727 | { |
no test coverage detected