| 1342 | } |
| 1343 | |
| 1344 | void cmVisualStudio10TargetGenerator::WriteXamlFilesGroup(Elem& e0) |
| 1345 | { |
| 1346 | if (!this->XamlObjs.empty()) { |
| 1347 | Elem e1(e0, "ItemGroup"); |
| 1348 | for (cmSourceFile const* oi : this->XamlObjs) { |
| 1349 | std::string obj = oi->GetFullPath(); |
| 1350 | std::string xamlType; |
| 1351 | cmValue xamlTypeProperty = oi->GetProperty("VS_XAML_TYPE"); |
| 1352 | if (xamlTypeProperty) { |
| 1353 | xamlType = *xamlTypeProperty; |
| 1354 | } else { |
| 1355 | xamlType = "Page"; |
| 1356 | } |
| 1357 | |
| 1358 | Elem e2(e1, xamlType); |
| 1359 | this->WriteSource(e2, oi); |
| 1360 | e2.SetHasElements(); |
| 1361 | e2.Element("SubType", "Designer"); |
| 1362 | } |
| 1363 | } |
| 1364 | } |
| 1365 | |
| 1366 | void cmVisualStudio10TargetGenerator::WriteTargetSpecificReferences(Elem& e0) |
| 1367 | { |
no test coverage detected