summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-02-10 16:43:35 (GMT)
committerBrad King <brad.king@kitware.com>2006-02-10 16:43:35 (GMT)
commit976ab27ffd2bf71d252189724c412ecb44c49050 (patch)
tree06d3c853c93cb703ebb25ad48d80c787c655e42d
parentb403ad61e246b4951b67cb689c8ccc7afd7e72b3 (diff)
downloadCMake-976ab27ffd2bf71d252189724c412ecb44c49050.zip
CMake-976ab27ffd2bf71d252189724c412ecb44c49050.tar.gz
CMake-976ab27ffd2bf71d252189724c412ecb44c49050.tar.bz2
ENH: Mention relationship of EXECUTE_PROCESS and EXEC_PROGRAM.
-rw-r--r--Source/cmExecProgramCommand.h5
-rw-r--r--Source/cmExecuteProcessCommand.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/Source/cmExecProgramCommand.h b/Source/cmExecProgramCommand.h
index 3eedd1a..1a5ff17 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 36ea044..bca11a5 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."
;
}