| 1344 | } |
| 1345 | |
| 1346 | void cmGlobalFastbuildGenerator::WriteAlias(FastbuildAliasNode const& Alias, |
| 1347 | int indent) |
| 1348 | { |
| 1349 | if (Alias.PreBuildDependencies.empty()) { |
| 1350 | return; |
| 1351 | } |
| 1352 | auto const identPlus1 = indent + 1; |
| 1353 | WriteCommand("Alias", Quote(Alias.Name), indent); |
| 1354 | Indent(indent); |
| 1355 | *BuildFileStream << "{\n"; |
| 1356 | WriteArray("Targets", Wrap(Alias.PreBuildDependencies), identPlus1); |
| 1357 | if (Alias.Hidden) { |
| 1358 | WriteVariable("Hidden", "true", identPlus1); |
| 1359 | } |
| 1360 | Indent(indent); |
| 1361 | *BuildFileStream << "}\n"; |
| 1362 | } |
| 1363 | |
| 1364 | void cmGlobalFastbuildGenerator::WriteCopy(FastbuildCopyNode const& Copy) |
| 1365 | { |
no test coverage detected