diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-18 14:33:48 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-20 21:58:48 (GMT) |
commit | 400e3d19fcebf7d6e9551d585d60754bd937c28c (patch) | |
tree | 85f6536bd0a32ac616face977c8244b5a47eb4d9 /Source/cmExtraEclipseCDT4Generator.cxx | |
parent | 726e461b3885aca4144ec79d08bf62c7ebade96d (diff) | |
download | CMake-400e3d19fcebf7d6e9551d585d60754bd937c28c.zip CMake-400e3d19fcebf7d6e9551d585d60754bd937c28c.tar.gz CMake-400e3d19fcebf7d6e9551d585d60754bd937c28c.tar.bz2 |
cmLocalGenerator: Don't store imported generator targets
No consumers need them. This makes GetGeneratorTargets more comparable
to cmMakefile::GetTargets, which does not include imported targets.
Diffstat (limited to 'Source/cmExtraEclipseCDT4Generator.cxx')
-rw-r--r-- | Source/cmExtraEclipseCDT4Generator.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/cmExtraEclipseCDT4Generator.cxx index 236fb7d..31c05fd 100644 --- a/Source/cmExtraEclipseCDT4Generator.cxx +++ b/Source/cmExtraEclipseCDT4Generator.cxx @@ -969,10 +969,6 @@ void cmExtraEclipseCDT4Generator::CreateCProjectFile() const for (cmGeneratorTargetsType::iterator l = targets.begin(); l != targets.end(); ++l) { - if (l->first->IsImported()) - { - continue; - } std::vector<std::string> includeDirs; std::string config = mf->GetSafeDefinition("CMAKE_BUILD_TYPE"); (*it)->GetIncludeDirectories(includeDirs, l->second, "C", config); |