summaryrefslogtreecommitdiffstats
path: root/Source/cmExtraEclipseCDT4Generator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-09 20:27:46 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-14 22:33:12 (GMT)
commit7f5ec9f109dc66bc22ac377a7fb57d9221aed56b (patch)
tree0adc08136e41c577aa436b4ce056a39fd5540fdb /Source/cmExtraEclipseCDT4Generator.cxx
parent06f56d3bf5d8210d190e1bfcf05673ceb78c5594 (diff)
downloadCMake-7f5ec9f109dc66bc22ac377a7fb57d9221aed56b.zip
CMake-7f5ec9f109dc66bc22ac377a7fb57d9221aed56b.tar.gz
CMake-7f5ec9f109dc66bc22ac377a7fb57d9221aed56b.tar.bz2
cmLocalGenerator: Port GetTargetDirectory to cmGeneratorTarget.
Diffstat (limited to 'Source/cmExtraEclipseCDT4Generator.cxx')
-rw-r--r--Source/cmExtraEclipseCDT4Generator.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx
index b7aeb02..44efbfc 100644
--- a/Source/cmExtraEclipseCDT4Generator.cxx
+++ b/Source/cmExtraEclipseCDT4Generator.cxx
@@ -1100,7 +1100,9 @@ void cmExtraEclipseCDT4Generator::CreateCProjectFile() const
cleanArgs += "\" \"";
cleanArgs += cmSystemTools::GetCMakeCommand();
cleanArgs += "\" -P \"";
- cleanArgs += (*it)->GetTargetDirectory(ti->second);
+ cmGeneratorTarget* gt =
+ this->GlobalGenerator->GetGeneratorTarget(&ti->second);
+ cleanArgs += (*it)->GetTargetDirectory(gt);
cleanArgs += "/cmake_clean.cmake\"";
this->AppendTarget(fout, "Clean", cmSystemTools::GetCMakeCommand(),
cleanArgs, virtDir, "", "");