diff options
author | Brad King <brad.king@kitware.com> | 2007-01-24 18:45:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-01-24 18:45:42 (GMT) |
commit | f71ad851d81649c59a8f4724d72ba4c935cdefce (patch) | |
tree | 0f99fc5c4ea9ecd94a2fa0b7ab222373b5ee4004 /Source/cmExecProgramCommand.h | |
parent | 03a46e03810ea22c357033bd83508c47766592d6 (diff) | |
download | CMake-f71ad851d81649c59a8f4724d72ba4c935cdefce.zip CMake-f71ad851d81649c59a8f4724d72ba4c935cdefce.tar.gz CMake-f71ad851d81649c59a8f4724d72ba4c935cdefce.tar.bz2 |
ENH: Patch from Alex to make deprecated command documentation more consistent.
Diffstat (limited to 'Source/cmExecProgramCommand.h')
-rw-r--r-- | Source/cmExecProgramCommand.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmExecProgramCommand.h b/Source/cmExecProgramCommand.h index 4836337..8518610 100644 --- a/Source/cmExecProgramCommand.h +++ b/Source/cmExecProgramCommand.h @@ -60,8 +60,7 @@ public: virtual const char* GetTerseDocumentation() { return - "Run and executable program during the processing of the CMakeList.txt" - " file."; + "Deprecated. Use the EXECUTE_PROCESS() command instead."; } /** @@ -70,6 +69,8 @@ public: virtual const char* GetFullDocumentation() { return + "Run and executable program during the processing of the CMakeList.txt" + " file.\n" " EXEC_PROGRAM(Executable [directory in which to run]\n" " [ARGS <arguments to executable>]\n" " [OUTPUT_VARIABLE <var>]\n" @@ -83,8 +84,6 @@ public: "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.\n" - "The EXECUTE_PROCESS command is a newer more powerful version of " - "EXEC_PROGRAM, but the old command has been kept for compatibility." ; } |