summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-07-26 18:57:26 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-07-26 18:57:26 (GMT)
commitdc96b975c52f79ba332b15bc33048ae01108e0ab (patch)
treed34479aa935f5ae7940763f5373334d1ff0f89c3 /Source
parenta234b3a4fc1db950801407a0a464ab484b06eb05 (diff)
parentd6b9df409c98b2c859d79bf67f866387e3392ed6 (diff)
downloadCMake-dc96b975c52f79ba332b15bc33048ae01108e0ab.zip
CMake-dc96b975c52f79ba332b15bc33048ae01108e0ab.tar.gz
CMake-dc96b975c52f79ba332b15bc33048ae01108e0ab.tar.bz2
Merge topic 'MinorImprovementToTryCompileDocs'
d6b9df4 Minor fix to try_compile() docs (#12333)
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTryCompileCommand.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/cmTryCompileCommand.h b/Source/cmTryCompileCommand.h
index 9923d03..0d57633 100644
--- a/Source/cmTryCompileCommand.h
+++ b/Source/cmTryCompileCommand.h
@@ -25,7 +25,7 @@ public:
/**
* This is a virtual constructor for the command.
*/
- virtual cmCommand* Clone()
+ virtual cmCommand* Clone()
{
return new cmTryCompileCommand;
}
@@ -45,7 +45,7 @@ public:
/**
* Succinct documentation.
*/
- virtual const char* GetTerseDocumentation()
+ virtual const char* GetTerseDocumentation()
{
return "Try building some code.";
}
@@ -102,14 +102,15 @@ public:
"In both versions of the command, "
"if OUTPUT_VARIABLE is specified, then the "
"output from the build process is stored in the given variable. "
- "Return the success or failure in "
+ "The success or failure of the try_compile, i.e. TRUE or FALSE "
+ "respectively, is returned in "
"RESULT_VAR. CMAKE_FLAGS can be used to pass -DVAR:TYPE=VALUE flags "
"to the cmake that is run during the build. "
"Set variable CMAKE_TRY_COMPILE_CONFIGURATION to choose a build "
"configuration."
;
}
-
+
cmTypeMacro(cmTryCompileCommand, cmCoreTryCompile);
};