From 6071052835552a7dbdf7bd4f38263c6f206b26dd Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Thu, 15 Jun 2006 11:51:51 -0400 Subject: [PATCH] ENH: fix linelength --- Source/cmGlobalKdevelopGenerator.cxx | 6 ++++-- Source/cmLocalUnixMakefileGenerator3.cxx | 6 ++++-- Source/cmake.h | 3 ++- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/Source/cmGlobalKdevelopGenerator.cxx b/Source/cmGlobalKdevelopGenerator.cxx index fa58fb6d8..3c3977b8e 100644 --- a/Source/cmGlobalKdevelopGenerator.cxx +++ b/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()); } diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index 03e55a3ec..9ca09df6d 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/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()); diff --git a/Source/cmake.h b/Source/cmake.h index 516d9812e..71a7713fe 100644 --- a/Source/cmake.h +++ b/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/";}; //@{ /**