From e4b5de6377bf144fadb7760efc3748f227807c25 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Mon, 14 May 2007 11:23:37 -0400 Subject: [PATCH] STYLE: fix line lengths Alex --- Source/cmGlobalXCodeGenerator.cxx | 5 +++-- Source/cmLocalVisualStudio6Generator.cxx | 3 ++- Source/cmTarget.cxx | 10 ++++++---- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 104ba195b..4b42796ba 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -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"; diff --git a/Source/cmLocalVisualStudio6Generator.cxx b/Source/cmLocalVisualStudio6Generator.cxx index 071835a38..20b0d5702 100644 --- a/Source/cmLocalVisualStudio6Generator.cxx +++ b/Source/cmLocalVisualStudio6Generator.cxx @@ -618,7 +618,8 @@ cmLocalVisualStudio6Generator } // Write out the dependencies for the rule. fout << "USERDEP__HACK="; - for(std::vector::const_iterator d=command.GetDepends().begin(); + for(std::vector::const_iterator d = + command.GetDepends().begin(); d != command.GetDepends().end(); ++d) { diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index eb1768e78..a97396f07 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -410,15 +410,17 @@ void cmTarget::SetMakefile(cmMakefile* mf) void -cmTarget::CheckForTargetsAsCommand(const std::vector& commands) +cmTarget +::CheckForTargetsAsCommand(const std::vector& commands) { for ( std::vector::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