소스 검색

STYLE: fix missing docs

Ken Martin 20 년 전
부모
커밋
fa3120a4a5
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      Source/cmTryRunCommand.h

+ 4 - 1
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);