summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallProgramsCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-03-01 17:13:38 (GMT)
committerBrad King <brad.king@kitware.com>2005-03-01 17:13:38 (GMT)
commitb636a0f20aa9f94940acd109e3717ef79730d168 (patch)
treedf2d377a2ed0c3b053384bdd477f14b1ff842499 /Source/cmInstallProgramsCommand.h
parent717927d6d2f8ef4ad1a5a960adc8c80aa1b7e44a (diff)
downloadCMake-b636a0f20aa9f94940acd109e3717ef79730d168.zip
CMake-b636a0f20aa9f94940acd109e3717ef79730d168.tar.gz
CMake-b636a0f20aa9f94940acd109e3717ef79730d168.tar.bz2
BUG: Added FILES mode to INSTALL_PROGRAMS command to make the single argument case unambiguous.
Diffstat (limited to 'Source/cmInstallProgramsCommand.h')
-rw-r--r--Source/cmInstallProgramsCommand.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmInstallProgramsCommand.h b/Source/cmInstallProgramsCommand.h
index b14405e..7aff27f 100644
--- a/Source/cmInstallProgramsCommand.h
+++ b/Source/cmInstallProgramsCommand.h
@@ -69,8 +69,11 @@ public:
virtual const char* GetFullDocumentation()
{
return
- " INSTALL_PROGRAMS(<dir> file file ...)\n"
- "Create rules to install the listed programs into the given directory.\n"
+ " INSTALL_PROGRAMS(<dir> file1 file2 [file3 ...])\n"
+ " INSTALL_PROGRAMS(<dir> FILES file1 [file2 ...])\n"
+ "Create rules to install the listed programs into the given directory. "
+ "Use the FILES argument to guarantee that the file list version of "
+ "the command will be used even when there is only one argument.\n"
" INSTALL_PROGRAMS(<dir> regexp)\n"
"In the second form any program in the current source directory that "
"matches the regular expression will be installed.\n"