[cmake-commits] alex committed cmTryRunCommand.cxx 1.37 1.38
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Aug 1 11:59:53 EDT 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv31844
Modified Files:
cmTryRunCommand.cxx
Log Message:
STYLE: some more tuning for the comment text
Alex
Index: cmTryRunCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmTryRunCommand.cxx,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- cmTryRunCommand.cxx 31 Jul 2007 18:52:01 -0000 1.37
+++ cmTryRunCommand.cxx 1 Aug 2007 15:59:51 -0000 1.38
@@ -241,8 +241,7 @@
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 @@
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;
More information about the Cmake-commits
mailing list