Browse Source

ENH: fix linelength

Ken Martin 19 years ago
parent
commit
6071052835
3 changed files with 10 additions and 5 deletions
  1. 4 2
      Source/cmGlobalKdevelopGenerator.cxx
  2. 4 2
      Source/cmLocalUnixMakefileGenerator3.cxx
  3. 2 1
      Source/cmake.h

+ 4 - 2
Source/cmGlobalKdevelopGenerator.cxx

@@ -162,7 +162,8 @@ bool cmGlobalKdevelopGenerator
         tmp=(*si)->GetFullPath();
         cmSystemTools::ReplaceString(tmp, projectDir.c_str(), "");
         if ((tmp[0]!='/')  && 
-            (strstr(tmp.c_str(), cmake::GetCMakeFilesDirectoryPostSlash())==0))
+            (strstr(tmp.c_str(), 
+                    cmake::GetCMakeFilesDirectoryPostSlash())==0))
           {
           files.insert(tmp);
           }
@@ -173,7 +174,8 @@ bool cmGlobalKdevelopGenerator
         tmp=*lt;
         cmSystemTools::ReplaceString(tmp, projectDir.c_str(), "");
         if ((tmp[0]!='/') && 
-            (strstr(tmp.c_str(), cmake::GetCMakeFilesDirectoryPostSlash())==0))
+            (strstr(tmp.c_str(), 
+                    cmake::GetCMakeFilesDirectoryPostSlash())==0))
           {
           files.insert(tmp.c_str());
           }

+ 4 - 2
Source/cmLocalUnixMakefileGenerator3.cxx

@@ -1461,7 +1461,8 @@ void cmLocalUnixMakefileGenerator3
 
   std::string mf2Dir = cmake::GetCMakeFilesDirectoryPostSlash();
   mf2Dir += "Makefile2";
-  commands.push_back(this->GetRecursiveMakeCall(mf2Dir.c_str(),dir.c_str()));  
+  commands.push_back(this->GetRecursiveMakeCall(mf2Dir.c_str(),
+                                                dir.c_str()));  
   this->CreateCDCommand(commands,
                         this->Makefile->GetHomeOutputDirectory(),
                         this->Makefile->GetStartOutputDirectory());
@@ -1486,7 +1487,8 @@ void cmLocalUnixMakefileGenerator3
   dir = this->Convert(dir.c_str(),HOME_OUTPUT,MAKEFILE);
   commands.clear();
   depends.clear();
-  commands.push_back(this->GetRecursiveMakeCall(mf2Dir.c_str(),dir.c_str()));  
+  commands.push_back(this->GetRecursiveMakeCall(mf2Dir.c_str(),
+                                                dir.c_str()));  
   this->CreateCDCommand(commands,
                                 this->Makefile->GetHomeOutputDirectory(),
                                 this->Makefile->GetStartOutputDirectory());

+ 2 - 1
Source/cmake.h

@@ -69,7 +69,8 @@ class cmake
 
   ///! construct an instance of cmake
   static const char *GetCMakeFilesDirectory() {return "/CMakeFiles";};
-  static const char *GetCMakeFilesDirectoryPostSlash() {return "CMakeFiles/";};
+  static const char *GetCMakeFilesDirectoryPostSlash() {
+    return "CMakeFiles/";};
   
   //@{
   /**