From 976ab27ffd2bf71d252189724c412ecb44c49050 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 10 Feb 2006 11:43:35 -0500 Subject: [PATCH] ENH: Mention relationship of EXECUTE_PROCESS and EXEC_PROGRAM. --- Source/cmExecProgramCommand.h | 5 ++++- Source/cmExecuteProcessCommand.h | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Source/cmExecProgramCommand.h b/Source/cmExecProgramCommand.h index 3eedd1af3..1a5ff1756 100644 --- a/Source/cmExecProgramCommand.h +++ b/Source/cmExecProgramCommand.h @@ -80,7 +80,10 @@ public: "specifies a variable in which to store the output. " "To capture the return value of the execution, provide a RETURN_VALUE. " "If OUTPUT_VARIABLE is specified, then no output will go to the " - "stdout/stderr of the console running cmake."; + "stdout/stderr of the console running cmake.\n" + "The EXECUTE_PROCESS command is a newer more powerful version of " + "EXEC_PROGRAM, but the old command has been kept for compatibility." + ; } cmTypeMacro(cmExecProgramCommand, cmCommand); diff --git a/Source/cmExecuteProcessCommand.h b/Source/cmExecuteProcessCommand.h index 36ea044f3..bca11a516 100644 --- a/Source/cmExecuteProcessCommand.h +++ b/Source/cmExecuteProcessCommand.h @@ -103,7 +103,9 @@ public: "If more than one OUTPUT_* or ERROR_* option is given for the same " "pipe the precedence is not specified. " "If no OUTPUT_* or ERROR_* options are given the output will be shared " - "with the corresponding pipes of the CMake process itself." + "with the corresponding pipes of the CMake process itself.\n" + "The EXECUTE_PROCESS command is a newer more powerful version of " + "EXEC_PROGRAM, but the old command has been kept for compatibility." ; }