summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-10-31 13:40:13 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-10-31 13:40:13 (GMT)
commit7a616e75b84d692e2df453e889c12d1afdb6c576 (patch)
treec99e5be61074ac3b1f5486257b9b113f6fd74b9b /Source/cmVisualStudio10TargetGenerator.cxx
parentd182a55adb63639d3a4f497c877c9904f3314945 (diff)
parent07f5788385de1cc1ba7ada9d3d9adc43382fd5ff (diff)
downloadCMake-7a616e75b84d692e2df453e889c12d1afdb6c576.zip
CMake-7a616e75b84d692e2df453e889c12d1afdb6c576.tar.gz
CMake-7a616e75b84d692e2df453e889c12d1afdb6c576.tar.bz2
Merge topic 'use-generator-target'
07f5788 Move TraceDependencies to cmGeneratorTarget. fa03777 Do not populate SourceEntries in AddSourceFile.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx5
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);
}
}