mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Improve signature of cmLocalGenerator::GetRealDependency
Allow file-level custom command dependencies to be skipped.
This commit is contained in:
@@ -686,10 +686,12 @@ cmLocalVisualStudio6Generator
|
||||
++d)
|
||||
{
|
||||
// Lookup the real name of the dependency in case it is a CMake target.
|
||||
std::string dep = this->GetRealDependency(d->c_str(),
|
||||
config.c_str());
|
||||
fout << "\\\n\t" <<
|
||||
this->ConvertToOptionallyRelativeOutputPath(dep.c_str());
|
||||
std::string dep;
|
||||
if(this->GetRealDependency(d->c_str(), config.c_str(), dep))
|
||||
{
|
||||
fout << "\\\n\t" <<
|
||||
this->ConvertToOptionallyRelativeOutputPath(dep.c_str());
|
||||
}
|
||||
}
|
||||
fout << "\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user