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

Method AppendLINK_DEPENDS

Source/cmFastbuildNormalTargetGenerator.cxx:1998–2013  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1996}
1997
1998void cmFastbuildNormalTargetGenerator::AppendLINK_DEPENDS(
1999 FastbuildLinkerNode& linkerNode) const
2000{
2001 // LINK_DEPENDS and such.
2002 // Tested in "BuildDepends" test.
2003 for (std::string const& lang : Languages) {
2004 for (BT<std::string> const& dep :
2005 this->GeneratorTarget->GetLinkDepends(Config, lang)) {
2006 // We can't add "LINK_DEPENDS" to .PreBuildDependencies, since FASTBuild
2007 // only forces such targets to be built and doesn't force re-linking if
2008 // they've changed.
2009 linkerNode.Libraries2.emplace_back(
2010 this->ConvertToFastbuildPath(dep.Value));
2011 }
2012 }
2013}
2014
2015void cmFastbuildNormalTargetGenerator::AppendLinkDep(
2016 FastbuildLinkerNode& linkerNode, std::string dep) const

Callers

nothing calls this directly

Calls 3

GetLinkDependsMethod · 0.80
emplace_backMethod · 0.80

Tested by

no test coverage detected