summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-18 14:33:48 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-20 21:58:48 (GMT)
commit400e3d19fcebf7d6e9551d585d60754bd937c28c (patch)
tree85f6536bd0a32ac616face977c8244b5a47eb4d9 /Source/cmGlobalUnixMakefileGenerator3.cxx
parent726e461b3885aca4144ec79d08bf62c7ebade96d (diff)
downloadCMake-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/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx
index 8e671a3..44e3de6 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.cxx
+++ b/Source/cmGlobalUnixMakefileGenerator3.cxx
@@ -473,10 +473,6 @@ cmGlobalUnixMakefileGenerator3
(type == cmState::OBJECT_LIBRARY) ||
(type == cmState::UTILITY))
{
- if(gtarget->IsImported())
- {
- continue;
- }
// Add this to the list of depends rules in this directory.
if((!check_all || !gtarget->GetPropertyAsBool("EXCLUDE_FROM_ALL")) &&
(!check_relink ||
@@ -632,10 +628,6 @@ cmGlobalUnixMakefileGenerator3
t != targets.end(); ++t)
{
cmGeneratorTarget* gtarget = t->second;
- if(gtarget->IsImported())
- {
- continue;
- }
// Don't emit the same rule twice (e.g. two targets with the same
// simple name)
int type = gtarget->GetType();
@@ -733,10 +725,6 @@ cmGlobalUnixMakefileGenerator3
t != targets.end(); ++t)
{
cmGeneratorTarget* gtarget = t->second;
- if(gtarget->IsImported())
- {
- continue;
- }
int type = gtarget->GetType();
std::string name = gtarget->GetName();
if (!name.empty()