Browse Source

STYLE: fix line lengths

Alex
Alexander Neundorf 18 years ago
parent
commit
e4b5de6377

+ 3 - 2
Source/cmGlobalXCodeGenerator.cxx

@@ -906,7 +906,7 @@ cmGlobalXCodeGenerator::AddCommandsToBuildPhase(cmXCodeObject* buildphase,
         std::string primaryOutput = this->ConvertToRelativeForMake(o->c_str());
         for(++o; o != outputs.end(); ++o)
           {
-          std::string currentOutput =this->ConvertToRelativeForMake(o->c_str());
+          std::string currentOutput=this->ConvertToRelativeForMake(o->c_str());
           multipleOutputPairs[currentOutput] = primaryOutput;
           }
         }
@@ -940,7 +940,8 @@ cmGlobalXCodeGenerator::AddCommandsToBuildPhase(cmXCodeObject* buildphase,
   std::string makecmd = "make -C ";
   makecmd += cdir;
   makecmd += " -f ";
-  makecmd += this->ConvertToRelativeForMake((makefile+"$CONFIGURATION").c_str());
+  makecmd += this->ConvertToRelativeForMake(
+                                          (makefile+"$CONFIGURATION").c_str());
   if(!multipleOutputPairs.empty())
     {
     makecmd += " cmake_check_multiple_outputs";

+ 2 - 1
Source/cmLocalVisualStudio6Generator.cxx

@@ -618,7 +618,8 @@ cmLocalVisualStudio6Generator
       }
     // Write out the dependencies for the rule.
     fout << "USERDEP__HACK=";
-    for(std::vector<std::string>::const_iterator d=command.GetDepends().begin();
+    for(std::vector<std::string>::const_iterator d = 
+          command.GetDepends().begin();
         d != command.GetDepends().end(); 
         ++d)
       {

+ 6 - 4
Source/cmTarget.cxx

@@ -410,15 +410,17 @@ void cmTarget::SetMakefile(cmMakefile* mf)
 
 
 void 
-cmTarget::CheckForTargetsAsCommand(const std::vector<cmCustomCommand>& commands)
+cmTarget
+::CheckForTargetsAsCommand(const std::vector<cmCustomCommand>& commands)
 {
   for ( std::vector<cmCustomCommand>::const_iterator cli = commands.begin();
         cli != commands.end();
         ++cli )
     {
-    for(cmCustomCommandLines::const_iterator cit=cli->GetCommandLines().begin();
-          cit!=cli->GetCommandLines().end();
-          ++cit )
+    for(cmCustomCommandLines::const_iterator cit = 
+          cli->GetCommandLines().begin();
+        cit!=cli->GetCommandLines().end();
+        ++cit )
       {
       std::string command = *cit->begin();
       // see if we can find a target with this name