STYLE: fix line length

This commit is contained in:
Ken Martin
2006-05-12 14:12:13 -04:00
parent daa37f1163
commit cac30b5ff8
13 changed files with 117 additions and 71 deletions

View File

@@ -57,7 +57,8 @@ bool cmVTKWrapJavaCommand::InitialPass(std::vector<std::string> const& argsIn)
std::ofstream depFile(depFileName.c_str());
depFile << "# This file is automatically generated by CMake VTK_WRAP_JAVA"
<< std::endl << std::endl;
depFile << "SET(VTK_JAVA_DEPENDENCIES ${VTK_JAVA_DEPENDENCIES}" << std::endl;
depFile <<
"SET(VTK_JAVA_DEPENDENCIES ${VTK_JAVA_DEPENDENCIES}" << std::endl;
// get the list of classes for this library
for(std::vector<std::string>::const_iterator j = (args.begin() + 2);
@@ -75,8 +76,8 @@ bool cmVTKWrapJavaCommand::InitialPass(std::vector<std::string> const& argsIn)
}
std::string srcName = cmSystemTools::GetFilenameWithoutExtension(*j);
std::string newName = srcName + "Java";
file.SetName(newName.c_str(), this->Makefile->GetCurrentOutputDirectory(),
"cxx",false);
file.SetName(newName.c_str(),
this->Makefile->GetCurrentOutputDirectory(), "cxx",false);
std::string hname = cdir + "/" + srcName + ".h";
this->WrapHeaders.push_back(hname);
// add starting depends
@@ -101,7 +102,8 @@ bool cmVTKWrapJavaCommand::InitialPass(std::vector<std::string> const& argsIn)
// Finalize java dependency file
depFile << ")" << std::endl;
this->Makefile->AddDefinition(this->SourceList.c_str(), sourceListValue.c_str());
this->Makefile->AddDefinition(this->SourceList.c_str(),
sourceListValue.c_str());
return true;
}