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

Method ProcessManifests

Source/cmFastbuildNormalTargetGenerator.cxx:1002–1017  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1000}
1001
1002void cmFastbuildNormalTargetGenerator::ProcessManifests(
1003 FastbuildLinkerNode& linkerNode) const
1004{
1005 if (this->GetGlobalGenerator()->GetCMakeInstance()->GetIsInTryCompile()) {
1006 return;
1007 }
1008 std::vector<std::string> const manifests =
1009 this->GetManifestsAsFastbuildPath();
1010 // Manifests should always be in .Libraries2, so we re-link when needed.
1011 // Tested in RunCMake.BuildDepends
1012 linkerNode.Libraries2.reserve(linkerNode.Libraries2.size() +
1013 manifests.size());
1014 for (auto const& manifest : manifests) {
1015 linkerNode.Libraries2.emplace_back(manifest);
1016 }
1017}
1018
1019void cmFastbuildNormalTargetGenerator::AddStampExeIfApplicable(
1020 FastbuildTarget& fastbuildTarget) const

Callers

nothing calls this directly

Calls 7

GetIsInTryCompileMethod · 0.80
reserveMethod · 0.80
emplace_backMethod · 0.80
GetCMakeInstanceMethod · 0.45
GetGlobalGeneratorMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected