summaryrefslogtreecommitdiffstats
path: root/Source/cmTryRunCommand.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-01 15:59:51 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-08-01 15:59:51 (GMT)
commita0533be267e0304b3a13f17c3adc660e8a830f71 (patch)
treed3bd4e508b661eeb5f0d95196b9e5a1cffe8cf86 /Source/cmTryRunCommand.cxx
parent63e2c3bbf2cd746a32f5026e1ddf52926d951165 (diff)
downloadCMake-a0533be267e0304b3a13f17c3adc660e8a830f71.zip
CMake-a0533be267e0304b3a13f17c3adc660e8a830f71.tar.gz
CMake-a0533be267e0304b3a13f17c3adc660e8a830f71.tar.bz2
STYLE: some more tuning for the comment text
Alex
Diffstat (limited to 'Source/cmTryRunCommand.cxx')
-rw-r--r--Source/cmTryRunCommand.cxx21
1 files changed, 10 insertions, 11 deletions
diff --git a/Source/cmTryRunCommand.cxx b/Source/cmTryRunCommand.cxx
index 2512071..0291595 100644
--- a/Source/cmTryRunCommand.cxx
+++ b/Source/cmTryRunCommand.cxx
@@ -241,8 +241,7 @@ void cmTryRunCommand::DoNotRunExecutable(const std::string& runArgs,
std::string detailsString = "For details see ";
detailsString += resultFileName;
- std::string internalRunOutputName = this->RunResultVariable+"__"
- +this->CompileResultVariable+"__TRYRUN_OUTPUT";
+ std::string internalRunOutputName=this->RunResultVariable+"__TRYRUN_OUTPUT";
bool error = false;
if (this->Makefile->GetDefinition(this->RunResultVariable.c_str()) == 0)
@@ -315,25 +314,25 @@ void cmTryRunCommand::DoNotRunExecutable(const std::string& runArgs,
std::string comment ="\n";
comment += this->RunResultVariable;
- comment += "\nindicates whether the executable would have been able to "
- "run if it was\n"
- "executed on its target platform. If so, set ";
+ comment += "\n indicates whether the executable would have been able "
+ "to run if it was\n"
+ " executed on its target platform. If so, set ";
comment += this->RunResultVariable;
comment += " to\n"
- "the exit code (in many cases 0 for success), otherwise "
+ " the exit code (in many cases 0 for success), otherwise "
"enter \"FAILED_TO_RUN\".\n";
if (out!=0)
{
comment += internalRunOutputName;
- comment += "\ncontains the text, which the executable "
+ comment += "\n contains the text the executable "
"would have printed on stdout and stderr.\n"
- "If the executable would not have been able to run, set ";
+ " If the executable would not have been able to run, set ";
comment += internalRunOutputName;
comment += " empty.\n"
- "Otherwise check if the output is evaluated by the "
+ " Otherwise check if the output is evaluated by the "
"calling CMake code. If so,\n"
- "check what the source file would have printed when called "
- "with the given arguments.\n";
+ " check what the source file would have printed when "
+ "called with the given arguments.\n";
}
comment += "The ";
comment += this->CompileResultVariable;