summaryrefslogtreecommitdiffstats
path: root/Source/cmExecProgramCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmExecProgramCommand.h')
-rw-r--r--Source/cmExecProgramCommand.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmExecProgramCommand.h b/Source/cmExecProgramCommand.h
index 75f083e..01acc1b 100644
--- a/Source/cmExecProgramCommand.h
+++ b/Source/cmExecProgramCommand.h
@@ -64,7 +64,11 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "EXEC_PROGRAM(Executable [Directory to run in])";
+ "EXEC_PROGRAM(Executable [Directory to run in] [ARGS arguments to executable])"
+ "The executable is run in the optionally specified Directory. The executable "
+ "can include arguments if it is double quoted, but it is better to use the "
+ "optional ARGS argument to specify arguments to the program. This is because "
+ "cmake will then be able to escape spaces in the Executable path.";
}
cmTypeMacro(cmExecProgramCommand, cmCommand);