[cmake-commits] martink committed cmGlobalUnixMakefileGenerator3.cxx
1.104 1.105
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Apr 13 10:22:35 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv32181
Modified Files:
cmGlobalUnixMakefileGenerator3.cxx
Log Message:
ENH: better progress for any directory that is a project
Index: cmGlobalUnixMakefileGenerator3.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalUnixMakefileGenerator3.cxx,v
retrieving revision 1.104
retrieving revision 1.105
diff -u -d -r1.104 -r1.105
--- cmGlobalUnixMakefileGenerator3.cxx 12 Apr 2007 19:46:14 -0000 1.104
+++ cmGlobalUnixMakefileGenerator3.cxx 13 Apr 2007 14:22:33 -0000 1.105
@@ -917,8 +917,10 @@
{
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 =
More information about the Cmake-commits
mailing list