From a500b3da0511b84899a387ce2bc46d3ee3f9e3b8 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Fri, 13 Apr 2007 10:22:33 -0400 Subject: [PATCH] ENH: better progress for any directory that is a project --- Source/cmGlobalUnixMakefileGenerator3.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index 26c8ad280..b4e05ede8 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 &targets =