[cmake-commits] alex committed cmFindLibraryCommand.cxx 1.41 1.42 cmInstallGenerator.cxx 1.13 1.14 cmInstallTargetGenerator.cxx 1.44 1.45

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Aug 20 16:59:08 EDT 2007


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

Modified Files:
	cmFindLibraryCommand.cxx cmInstallGenerator.cxx 
	cmInstallTargetGenerator.cxx 
Log Message:

STYLE: add some newlines to cmake_install.cmake, so it's easier to read
-move the array behind the if, it's unused before it

Alex


Index: cmFindLibraryCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmFindLibraryCommand.cxx,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- cmFindLibraryCommand.cxx	27 Jun 2007 16:07:34 -0000	1.41
+++ cmFindLibraryCommand.cxx	20 Aug 2007 20:59:06 -0000	1.42
@@ -108,11 +108,11 @@
   std::string voidsize = 
     this->Makefile->GetRequiredDefinition("CMAKE_SIZEOF_VOID_P");
   int size = atoi(voidsize.c_str());
-  std::vector<std::string> path64;
   if(size != 8)
     {
     return;
     }
+  std::vector<std::string> path64;
   bool found64 = false;
   for(std::vector<std::string>::iterator i = this->SearchPaths.begin(); 
       i != this->SearchPaths.end(); ++i)

Index: cmInstallGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmInstallGenerator.cxx,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- cmInstallGenerator.cxx	2 Jul 2007 18:56:57 -0000	1.13
+++ cmInstallGenerator.cxx	20 Aug 2007 20:59:06 -0000	1.14
@@ -210,7 +210,7 @@
   this->GenerateScriptConfigs(os, indent.Next());
 
   // End this block of installation.
-  os << indent << "ENDIF(" << component_test << ")\n";
+  os << indent << "ENDIF(" << component_test << ")\n\n";
 }
 
 //----------------------------------------------------------------------------

Index: cmInstallTargetGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmInstallTargetGenerator.cxx,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- cmInstallTargetGenerator.cxx	3 Aug 2007 20:31:08 -0000	1.44
+++ cmInstallTargetGenerator.cxx	20 Aug 2007 20:59:06 -0000	1.45
@@ -97,7 +97,7 @@
     }
 
   // End this block of installation.
-  os << indent << "ENDIF(" << component_test << ")\n";
+  os << indent << "ENDIF(" << component_test << ")\n\n";
 }
 
 //----------------------------------------------------------------------------



More information about the Cmake-commits mailing list