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/cmLocalGenerator.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/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 9d5dd8e..1a4516c 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -136,8 +136,7 @@ void cmLocalGenerator::TraceDependencies() for(cmGeneratorTargetsType::iterator t = targets.begin(); t != targets.end(); ++t) { - if (t->second->Target->IsImported() - || t->second->GetType() == cmState::INTERFACE_LIBRARY) + if (t->second->GetType() == cmState::INTERFACE_LIBRARY) { continue; } @@ -476,10 +475,6 @@ void cmLocalGenerator::ComputeTargetManifest() { continue; } - if (target.IsImported()) - { - continue; - } for(std::vector<std::string>::iterator ci = configNames.begin(); ci != configNames.end(); ++ci) { |