diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-05-10 19:08:38 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-05-10 19:08:38 (GMT) |
commit | bb88ef5e41c2308db4e3fbd8c4e082495f45e389 (patch) | |
tree | 6a4613f8d0728b83bb744ef78f008e308b0f8704 /Source/cmExecuteProcessCommand.cxx | |
parent | 14781101fd43a68ea5226f067022df30fa8464b4 (diff) | |
download | CMake-bb88ef5e41c2308db4e3fbd8c4e082495f45e389.zip CMake-bb88ef5e41c2308db4e3fbd8c4e082495f45e389.tar.gz CMake-bb88ef5e41c2308db4e3fbd8c4e082495f45e389.tar.bz2 |
STYLE: fix line length
Diffstat (limited to 'Source/cmExecuteProcessCommand.cxx')
-rw-r--r-- | Source/cmExecuteProcessCommand.cxx | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Source/cmExecuteProcessCommand.cxx b/Source/cmExecuteProcessCommand.cxx index fec9070..835144f 100644 --- a/Source/cmExecuteProcessCommand.cxx +++ b/Source/cmExecuteProcessCommand.cxx @@ -22,7 +22,8 @@ void cmExecuteProcessCommandFixText(std::vector<char>& output); // cmExecuteProcessCommand -bool cmExecuteProcessCommand::InitialPass(std::vector<std::string> const& args) +bool cmExecuteProcessCommand +::InitialPass(std::vector<std::string> const& args) { if(args.size() < 1 ) { @@ -241,11 +242,13 @@ bool cmExecuteProcessCommand::InitialPass(std::vector<std::string> const& args) } if(!output_file.empty()) { - cmsysProcess_SetPipeFile(cp, cmsysProcess_Pipe_STDOUT, output_file.c_str()); + cmsysProcess_SetPipeFile(cp, cmsysProcess_Pipe_STDOUT, + output_file.c_str()); } if(!error_file.empty()) { - cmsysProcess_SetPipeFile(cp, cmsysProcess_Pipe_STDERR, error_file.c_str()); + cmsysProcess_SetPipeFile(cp, cmsysProcess_Pipe_STDERR, + error_file.c_str()); } // Set the timeout if any. @@ -297,11 +300,13 @@ bool cmExecuteProcessCommand::InitialPass(std::vector<std::string> const& args) // Store the output obtained. if(!output_variable.empty() && tempOutput.size()) { - this->Makefile->AddDefinition(output_variable.c_str(), &*tempOutput.begin()); + this->Makefile->AddDefinition(output_variable.c_str(), + &*tempOutput.begin()); } if(!merge_output && !error_variable.empty() && tempError.size()) { - this->Makefile->AddDefinition(error_variable.c_str(), &*tempError.begin()); + this->Makefile->AddDefinition(error_variable.c_str(), + &*tempError.begin()); } // Store the result of running the process. |