STYLE: fix line lengths

Alex
This commit is contained in:
Alexander Neundorf 2007-05-14 11:23:37 -04:00
parent 3aa23ce6eb
commit e4b5de6377
3 changed files with 11 additions and 7 deletions

View File

@ -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";

View File

@ -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)
{

View File

@ -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