From 362f81981e0759fe310eea5def1644d4304700e8 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Thu, 10 May 2007 11:38:23 -0400 Subject: [PATCH] STYLE: fix line length Alex --- Source/cmGlobalXCodeGenerator.cxx | 6 ++++-- Source/cmGlobalXCodeGenerator.h | 2 +- Source/cmLocalVisualStudio7Generator.cxx | 3 ++- Source/cmTarget.cxx | 6 ++++-- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 9b967694e..ed1866485 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -959,7 +959,8 @@ void cmGlobalXCodeGenerator std::vector const & commands, const char* configName, - const std::map& multipleOutputPairs + const std::map& multipleOutputPairs ) { std::string makefileName=makefileBasename; @@ -1487,7 +1488,8 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target, if(install_name_dir.find(".framework") != install_name_dir.npos) { install_name_dir = install_name_dir + "/.."; - install_name_dir = cmSystemTools::CollapseFullPath(install_name_dir.c_str()); + install_name_dir = + cmSystemTools::CollapseFullPath(install_name_dir.c_str()); std::cerr << "new install name " << install_name_dir << "\n"; } } diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index 4a0821745..b484ea335 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -109,7 +109,7 @@ private: void CreateCustomRulesMakefile(const char* makefileBasename, cmTarget& target, - std::vector const & commands, + std::vector const & commands, const char* configName, const std::map& multipleOutputPairs diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 53d24a9ab..ec3842147 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -1283,7 +1283,8 @@ WriteCustomRule(std::ostream& fout, { // Write a rule for the output generated by this command. const char* sep = ""; - for(std::vector::const_iterator o = command.GetOutputs().begin(); + for(std::vector::const_iterator o = + command.GetOutputs().begin(); o != command.GetOutputs().end(); ++o) { diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 677d96fcb..eb1768e78 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -416,7 +416,7 @@ cmTarget::CheckForTargetsAsCommand(const std::vector& commands) cli != commands.end(); ++cli ) { - for ( cmCustomCommandLines::const_iterator cit=cli->GetCommandLines().begin(); + for(cmCustomCommandLines::const_iterator cit=cli->GetCommandLines().begin(); cit!=cli->GetCommandLines().end(); ++cit ) { @@ -584,7 +584,9 @@ void cmTarget::TraceVSDependencies(std::string projFile, outsf->GetCustomCommand()->AppendDepends(automaticTargetDepends); // add its dependencies to the list to check - for (unsigned int i = 0; i < outsf->GetCustomCommand()->GetDepends().size(); ++i) + for (unsigned int i = 0; + i < outsf->GetCustomCommand()->GetDepends().size(); + ++i) { const std::string& fullName = outsf->GetCustomCommand()->GetDepends()[i];