diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-09-16 03:21:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-10-14 17:32:09 (GMT) |
commit | 2293d43d00ddcff86c70f0b06014223f3b01e36c (patch) | |
tree | a5a581e0637bd509f0802f979745bcc4678f4c31 /Source/cmGlobalKdevelopGenerator.cxx | |
parent | 488723f5cd9bec3f7b35b26c89ce2d92ad7d4db4 (diff) | |
download | CMake-2293d43d00ddcff86c70f0b06014223f3b01e36c.zip CMake-2293d43d00ddcff86c70f0b06014223f3b01e36c.tar.gz CMake-2293d43d00ddcff86c70f0b06014223f3b01e36c.tar.bz2 |
cmLocalGenerator: Store cmGeneratorTargets.
Relieve cmMakefile of this responsibility.
Diffstat (limited to 'Source/cmGlobalKdevelopGenerator.cxx')
-rw-r--r-- | Source/cmGlobalKdevelopGenerator.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalKdevelopGenerator.cxx b/Source/cmGlobalKdevelopGenerator.cxx index f955ef7..ed36634 100644 --- a/Source/cmGlobalKdevelopGenerator.cxx +++ b/Source/cmGlobalKdevelopGenerator.cxx @@ -68,8 +68,7 @@ void cmGlobalKdevelopGenerator::Generate() for (std::vector<cmLocalGenerator*>::const_iterator lg=lgs.begin(); lg!=lgs.end(); lg++) { - cmMakefile* makefile=(*lg)->GetMakefile(); - cmGeneratorTargetsType const& targets = makefile->GetGeneratorTargets(); + cmGeneratorTargetsType const& targets = (*lg)->GetGeneratorTargets(); for (cmGeneratorTargetsType::const_iterator ti = targets.begin(); ti != targets.end(); ti++) { |