ENH: fix linelength
This commit is contained in:
parent
4c2c2cfd68
commit
6071052835
|
@ -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());
|
||||
}
|
||||
|
|
|
@ -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());
|
||||
|
|
|
@ -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/";};
|
||||
|
||||
//@{
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue