diff --git a/Source/cmTryCompileCommand.h b/Source/cmTryCompileCommand.h index 6ac3b19a4..5586f669e 100644 --- a/Source/cmTryCompileCommand.h +++ b/Source/cmTryCompileCommand.h @@ -75,18 +75,21 @@ public: { return " TRY_COMPILE(RESULT_VAR bindir srcdir\n" - " projectName >)\n" + " projectName >\n" + " )\n" "Try compiling a program. Return the success or failure in RESULT_VAR. " "If is specified then build just that target " "otherwise the all or ALL_BUILD target is built.\n" " TRY_COMPILE(RESULT_VAR bindir srcfile\n" " >\n" - " ...>)\n" + " ...>\n" + " )\n" "Try compiling a srcfile. Return the success or failure in RESULT_VAR. " "CMAKE_FLAGS can be used to pass -DVAR:TYPE=VALUE flags to cmake. The " "COMPILE_DEFINITIONS are -Ddefinition that will be passed to the " "compile line. If srcfile is specified the files in bindir/CMakeTmp " - "are cleaned."; + "are cleaned automatically. If OUTPUT_VARIABLE is specified, then the " + "output from the build process is stored in the given variable."; } cmTypeMacro(cmTryCompileCommand, cmCommand);