diff options
author | Brad King <brad.king@kitware.com> | 2010-12-08 21:51:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-12-08 22:14:14 (GMT) |
commit | e30a775f68ddae48ca6987fc2c21c07844a26804 (patch) | |
tree | 7f28c404adf822fd3f3d2dda3a0b73796ae93d10 /Source/cmGlobalXCodeGenerator.cxx | |
parent | afc8906468bb09a934442bdbdcb86d9f40926e75 (diff) | |
download | CMake-e30a775f68ddae48ca6987fc2c21c07844a26804.zip CMake-e30a775f68ddae48ca6987fc2c21c07844a26804.tar.gz CMake-e30a775f68ddae48ca6987fc2c21c07844a26804.tar.bz2 |
Improve signature of cmLocalGenerator::GetRealDependency
Allow file-level custom command dependencies to be skipped.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 2f7bc44..29c2d06 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -1334,11 +1334,13 @@ void cmGlobalXCodeGenerator cc.GetDepends().begin(); d != cc.GetDepends().end(); ++d) { - std::string dep = - this->CurrentLocalGenerator->GetRealDependency(d->c_str(), - configName); - makefileStream << "\\\n" << this - ->ConvertToRelativeForMake(dep.c_str()); + std::string dep; + if(this->CurrentLocalGenerator + ->GetRealDependency(d->c_str(), configName, dep)) + { + makefileStream << "\\\n" << + this->ConvertToRelativeForMake(dep.c_str()); + } } makefileStream << "\n"; |