summaryrefslogtreecommitdiffstats
path: root/Source/cmTryRunCommand.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-12-13 20:12:37 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-12-13 20:12:37 (GMT)
commitfa3120a4a529c5a10a0f369d7abc5d4115b6f9b6 (patch)
treec047d20fc8f7d65b376206a86550afbb47e32c20 /Source/cmTryRunCommand.h
parent1c7075057fee4285fb7d4779832ad8704c509715 (diff)
downloadCMake-fa3120a4a529c5a10a0f369d7abc5d4115b6f9b6.zip
CMake-fa3120a4a529c5a10a0f369d7abc5d4115b6f9b6.tar.gz
CMake-fa3120a4a529c5a10a0f369d7abc5d4115b6f9b6.tar.bz2
STYLE: fix missing docs
Diffstat (limited to 'Source/cmTryRunCommand.h')
-rw-r--r--Source/cmTryRunCommand.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmTryRunCommand.h b/Source/cmTryRunCommand.h
index 9d3f636..8c20d77 100644
--- a/Source/cmTryRunCommand.h
+++ b/Source/cmTryRunCommand.h
@@ -63,13 +63,16 @@ public:
" TRY_RUN(RUN_RESULT_VAR COMPILE_RESULT_VAR\n"
" bindir srcfile <CMAKE_FLAGS <Flags>>\n"
" <COMPILE_DEFINITIONS <flags>>\n"
+ " <OUTPUT_VARIABLE var>\n"
" <ARGS <arg1> <arg2>...>)\n"
"Try compiling a srcfile. Return the success or failure in "
"COMPILE_RESULT_VAR. Then if the compile succeeded, run the "
"executable and return the result in RUN_RESULT_VAR. "
"If the executable was built, but failed for to run for some "
"reason, then RUN_RESULT_VAR will be set to FAILED_TO_RUN, and "
- "the output will be in the COMPILE_RESULT_VAR.";
+ "the output will be in the COMPILE_RESULT_VAR. OUTPUT_VARIABLE "
+ "specifies the name of the variable to put all of the standard "
+ "output and standard error into.";
}
cmTypeMacro(cmTryRunCommand, cmCommand);