ENH: better progress for any directory that is a project

This commit is contained in:
Ken Martin 2007-04-13 10:22:33 -04:00
parent e855341a1a
commit a500b3da05

View File

@ -917,8 +917,10 @@ unsigned long cmGlobalUnixMakefileGenerator3
{ {
unsigned long result = 0; unsigned long result = 0;
// for every target in the top level all // if this is a project
if (!lg->GetParent()) if (!lg->GetParent() ||
strcmp(lg->GetMakefile()->GetProjectName(),
lg->GetParent()->GetMakefile()->GetProjectName()))
{ {
// use the new project to target map // use the new project to target map
std::set<cmTarget*> &targets = std::set<cmTarget*> &targets =