diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-05-14 15:23:37 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-05-14 15:23:37 (GMT) |
commit | e4b5de6377bf144fadb7760efc3748f227807c25 (patch) | |
tree | 3fe22fd91af8f46f5cf475c99dfe533fa8a002d5 /Source | |
parent | 3aa23ce6ebb4df16428ef5619958abaa3d9710dc (diff) | |
download | CMake-e4b5de6377bf144fadb7760efc3748f227807c25.zip CMake-e4b5de6377bf144fadb7760efc3748f227807c25.tar.gz CMake-e4b5de6377bf144fadb7760efc3748f227807c25.tar.bz2 |
STYLE: fix line lengths
Alex
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 5 | ||||
-rw-r--r-- | Source/cmLocalVisualStudio6Generator.cxx | 3 | ||||
-rw-r--r-- | Source/cmTarget.cxx | 10 |
3 files changed, 11 insertions, 7 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 104ba19..4b42796 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 071835a..20b0d57 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<std::string>::const_iterator d=command.GetDepends().begin(); + for(std::vector<std::string>::const_iterator d = + command.GetDepends().begin(); d != command.GetDepends().end(); ++d) { diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index eb1768e..a97396f 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -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 |