| 5170 | } |
| 5171 | |
| 5172 | void cmVisualStudio10TargetGenerator::WritePlatformExtensions(Elem& e1) |
| 5173 | { |
| 5174 | // This only applies to Windows 10 apps |
| 5175 | if (this->GlobalGenerator->TargetsWindowsStore() && |
| 5176 | cmHasLiteralPrefix(this->GlobalGenerator->GetSystemVersion(), "10.0")) { |
| 5177 | cmValue desktopExtensionsVersion = |
| 5178 | this->GeneratorTarget->GetProperty("VS_DESKTOP_EXTENSIONS_VERSION"); |
| 5179 | if (desktopExtensionsVersion) { |
| 5180 | this->WriteSinglePlatformExtension(e1, "WindowsDesktop", |
| 5181 | *desktopExtensionsVersion); |
| 5182 | } |
| 5183 | cmValue mobileExtensionsVersion = |
| 5184 | this->GeneratorTarget->GetProperty("VS_MOBILE_EXTENSIONS_VERSION"); |
| 5185 | if (mobileExtensionsVersion) { |
| 5186 | this->WriteSinglePlatformExtension(e1, "WindowsMobile", |
| 5187 | *mobileExtensionsVersion); |
| 5188 | } |
| 5189 | } |
| 5190 | } |
| 5191 | |
| 5192 | void cmVisualStudio10TargetGenerator::WriteSinglePlatformExtension( |
| 5193 | Elem& e1, std::string const& extension, std::string const& version) |
no test coverage detected