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

Method WriteCopy

Source/cmGlobalFastbuildGenerator.cxx:1364–1380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1362}
1363
1364void cmGlobalFastbuildGenerator::WriteCopy(FastbuildCopyNode const& Copy)
1365{
1366 cmGlobalFastbuildGenerator::WriteCommand(
1367 Copy.CopyDir ? "CopyDir" : "Copy",
1368 cmGlobalFastbuildGenerator::Quote(Copy.Name), 1);
1369 cmGlobalFastbuildGenerator::Indent(1);
1370
1371 *BuildFileStream << "{\n";
1372 WriteVariable("PreBuildDependencies",
1373 cmGlobalFastbuildGenerator::Quote(Copy.PreBuildDependencies),
1374 2);
1375 WriteVariable(Copy.CopyDir ? "SourcePaths" : "Source",
1376 cmGlobalFastbuildGenerator::Quote(Copy.Source), 2);
1377 WriteVariable("Dest", cmGlobalFastbuildGenerator::Quote(Copy.Dest), 2);
1378 cmGlobalFastbuildGenerator::Indent(1);
1379 *BuildFileStream << "}\n";
1380}
1381
1382void cmGlobalFastbuildGenerator::WriteTarget(FastbuildTarget const& target)
1383{

Callers 1

WriteTargetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected