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/cmLocalVisualStudio6Generator.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/cmLocalVisualStudio6Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio6Generator.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx index eb4e4a4..b50c133 100644 --- a/Source/cmLocalVisualStudio6Generator.cxx +++ b/Source/cmLocalVisualStudio6Generator.cxx @@ -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"; |