diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-04-13 14:22:33 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-04-13 14:22:33 (GMT) |
commit | a500b3da0511b84899a387ce2bc46d3ee3f9e3b8 (patch) | |
tree | 9cd19b7cd82f276e382a9b5e243865102cf581db /Source/cmGlobalUnixMakefileGenerator3.cxx | |
parent | e855341a1a1682198ab33d975edb0f88b84de3da (diff) | |
download | CMake-a500b3da0511b84899a387ce2bc46d3ee3f9e3b8.zip CMake-a500b3da0511b84899a387ce2bc46d3ee3f9e3b8.tar.gz CMake-a500b3da0511b84899a387ce2bc46d3ee3f9e3b8.tar.bz2 |
ENH: better progress for any directory that is a project
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index 26c8ad2..b4e05ed 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -917,8 +917,10 @@ unsigned long cmGlobalUnixMakefileGenerator3 { unsigned long result = 0; - // for every target in the top level all - if (!lg->GetParent()) + // if this is a project + if (!lg->GetParent() || + strcmp(lg->GetMakefile()->GetProjectName(), + lg->GetParent()->GetMakefile()->GetProjectName())) { // use the new project to target map std::set<cmTarget*> &targets = |