diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-10-10 22:57:11 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-10-30 20:29:45 (GMT) |
commit | 07f5788385de1cc1ba7ada9d3d9adc43382fd5ff (patch) | |
tree | dec9e6ee098811d073baf4b29cf3eb0bcb9a667a /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | fa037776264a9ae554ed4e0a25f4e9f11f570524 (diff) | |
download | CMake-07f5788385de1cc1ba7ada9d3d9adc43382fd5ff.zip CMake-07f5788385de1cc1ba7ada9d3d9adc43382fd5ff.tar.gz CMake-07f5788385de1cc1ba7ada9d3d9adc43382fd5ff.tar.bz2 |
Move TraceDependencies to cmGeneratorTarget.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 0dbb5eb..ab97b5e 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -562,7 +562,7 @@ void cmVisualStudio10TargetGenerator::WriteCustomCommand(cmSourceFile* sf) if(this->SourcesVisited.insert(sf).second) { if(std::vector<cmSourceFile*> const* depends = - this->Target->GetSourceDepends(sf)) + this->GeneratorTarget->GetSourceDepends(sf)) { for(std::vector<cmSourceFile*>::const_iterator di = depends->begin(); di != depends->end(); ++di) @@ -1049,7 +1049,8 @@ void cmVisualStudio10TargetGenerator::WriteAllSources() si = this->GeneratorTarget->ExternalObjects.begin(); si != this->GeneratorTarget->ExternalObjects.end(); ++si) { - std::vector<cmSourceFile*> const* d=this->Target->GetSourceDepends(*si); + std::vector<cmSourceFile*> const* d = + this->GeneratorTarget->GetSourceDepends(*si); this->WriteSource((d && !d->empty())? "None":"Object", *si); } } |