MCPcopy Create free account
hub / github.com/Kitware/CMake / WriteAlias

Method WriteAlias

Source/cmGlobalFastbuildGenerator.cxx:1346–1362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1344}
1345
1346void 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
1364void cmGlobalFastbuildGenerator::WriteCopy(FastbuildCopyNode const& Copy)
1365{

Callers 2

WriteTargetMethod · 0.95
WriteTargetsMethod · 0.95

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected