[cmake-commits] hoffman committed cmGlobalVisualStudio7Generator.cxx 1.98 1.99

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Feb 4 16:05:02 EST 2008


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv18633

Modified Files:
	cmGlobalVisualStudio7Generator.cxx 
Log Message:
ENH: make sure ALL_BUILD only shows up once


Index: cmGlobalVisualStudio7Generator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalVisualStudio7Generator.cxx,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -d -r1.98 -r1.99
--- cmGlobalVisualStudio7Generator.cxx	30 Jan 2008 21:22:51 -0000	1.98
+++ cmGlobalVisualStudio7Generator.cxx	4 Feb 2008 21:05:00 -0000	1.99
@@ -336,9 +336,11 @@
       {
       bool skip = false;
       // if it is a global target or the check build system target
+      // or the all_build target
       // then only use the one that is for the root
       if(target->GetType() == cmTarget::GLOBAL_TARGET
-         || !strcmp(target->GetName(), CMAKE_CHECK_BUILD_SYSTEM_TARGET))
+         || !strcmp(target->GetName(), CMAKE_CHECK_BUILD_SYSTEM_TARGET)
+         || !strcmp(target->GetName(), this->GetAllTargetName()))
         {
         if(target->GetMakefile() != root->GetMakefile())
           {



More information about the Cmake-commits mailing list