summaryrefslogtreecommitdiffstats
path: root/Source/cmMakeDepend.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-09-16 08:03:42 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-09-19 13:32:09 (GMT)
commit290e92ada86c5b74669be48ee901494ae8e48ee3 (patch)
tree7325c7513406bd1258892a5bfa0b5cbb69b079a1 /Source/cmMakeDepend.cxx
parentf9146f6b90d381a70bdb6a3c97742e3a53bb6235 (diff)
downloadCMake-290e92ada86c5b74669be48ee901494ae8e48ee3.zip
CMake-290e92ada86c5b74669be48ee901494ae8e48ee3.tar.gz
CMake-290e92ada86c5b74669be48ee901494ae8e48ee3.tar.bz2
Move GetIncludeDirectories to cmGeneratorTarget.
Diffstat (limited to 'Source/cmMakeDepend.cxx')
-rw-r--r--Source/cmMakeDepend.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmMakeDepend.cxx b/Source/cmMakeDepend.cxx
index a68b57c..75a76a4 100644
--- a/Source/cmMakeDepend.cxx
+++ b/Source/cmMakeDepend.cxx
@@ -58,11 +58,12 @@ void cmMakeDepend::SetMakefile(cmMakefile* makefile)
// Now extract any include paths from the targets
std::set<std::string> uniqueIncludes;
std::vector<std::string> orderedAndUniqueIncludes;
- cmTargets & targets = this->Makefile->GetTargets();
- for (cmTargets::iterator l = targets.begin(); l != targets.end(); ++l)
+ cmGeneratorTargetsType targets = this->Makefile->GetGeneratorTargets();
+ for (cmGeneratorTargetsType::iterator l = targets.begin();
+ l != targets.end(); ++l)
{
const std::vector<std::string>& includes =
- l->second.GetIncludeDirectories();
+ l->second->GetIncludeDirectories();
for(std::vector<std::string>::const_iterator j = includes.begin();
j != includes.end(); ++j)
{