Improve signature of cmLocalGenerator::GetRealDependency

Allow file-level custom command dependencies to be skipped.
This commit is contained in:
Brad King
2010-12-08 16:51:16 -05:00
parent afc8906468
commit e30a775f68
7 changed files with 51 additions and 33 deletions
+6 -3
View File
@@ -902,9 +902,12 @@ cmLocalUnixMakefileGenerator3
d != cc.GetDepends().end(); ++d)
{
// Lookup the real name of the dependency in case it is a CMake target.
std::string dep = this->GetRealDependency
(d->c_str(), this->ConfigurationName.c_str());
depends.push_back(dep);
std::string dep;
if(this->GetRealDependency(d->c_str(), this->ConfigurationName.c_str(),
dep))
{
depends.push_back(dep);
}
}
}