| 1993 | } |
| 1994 | |
| 1995 | void cmMakefileTargetGenerator::AppendTargetDepends( |
| 1996 | std::vector<std::string>& depends, bool ignoreType) |
| 1997 | { |
| 1998 | // Static libraries never depend on anything for linking. |
| 1999 | if (this->GeneratorTarget->GetType() == cmStateEnums::STATIC_LIBRARY && |
| 2000 | !ignoreType) { |
| 2001 | return; |
| 2002 | } |
| 2003 | |
| 2004 | std::string const& cfg = this->GetConfigName(); |
| 2005 | |
| 2006 | if (this->GeneratorTarget->HasLinkDependencyFile(cfg)) { |
| 2007 | depends.push_back( |
| 2008 | cmStrCat(this->TargetBuildDirectoryFull, "/compiler_depend.ts")); |
| 2009 | } |
| 2010 | |
| 2011 | // Loop over all library dependencies. |
| 2012 | if (cmComputeLinkInformation const* cli = |
| 2013 | this->GeneratorTarget->GetLinkInformation(cfg)) { |
| 2014 | cm::append(depends, cli->GetDepends()); |
| 2015 | } |
| 2016 | } |
| 2017 | |
| 2018 | void cmMakefileTargetGenerator::AppendObjectDepends( |
| 2019 | std::vector<std::string>& depends) |
no test coverage detected