STYLE: fix missing docs

This commit is contained in:
Ken Martin 2005-12-13 15:12:37 -05:00
parent 1c7075057f
commit fa3120a4a5
1 changed files with 4 additions and 1 deletions

View File

@ -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);