summaryrefslogtreecommitdiff
path: root/Source/cmExecProgramCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-01-24 13:45:42 -0500
committerBrad King <brad.king@kitware.com>2007-01-24 13:45:42 -0500
commitf71ad851d81649c59a8f4724d72ba4c935cdefce (patch)
tree0f99fc5c4ea9ecd94a2fa0b7ab222373b5ee4004 /Source/cmExecProgramCommand.h
parent03a46e03810ea22c357033bd83508c47766592d6 (diff)
downloadcmake-f71ad851d81649c59a8f4724d72ba4c935cdefce.tar.gz
ENH: Patch from Alex to make deprecated command documentation more consistent.
Diffstat (limited to 'Source/cmExecProgramCommand.h')
-rw-r--r--Source/cmExecProgramCommand.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmExecProgramCommand.h b/Source/cmExecProgramCommand.h
index 4836337949..8518610f87 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."
;
}