summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallFilesCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-02-19 23:47:13 (GMT)
committerBrad King <brad.king@kitware.com>2006-02-19 23:47:13 (GMT)
commit518080136d2b643b2b27ae1ef69cee28306c2f81 (patch)
tree3e57cf1c6f7943dcff3bb879e0da13bc01f97412 /Source/cmInstallFilesCommand.h
parent4140f4a6faa63042cdb5378061cf8d30040a7dd1 (diff)
downloadCMake-518080136d2b643b2b27ae1ef69cee28306c2f81.zip
CMake-518080136d2b643b2b27ae1ef69cee28306c2f81.tar.gz
CMake-518080136d2b643b2b27ae1ef69cee28306c2f81.tar.bz2
ENH: Implemented FILES and PROGRAMS forms of the INSTALL command as replacements for the INSTALL_FILES and INSTALL_PROGRAMS commands. This addresses the request for absolute path install destinations in bug#2691.
Diffstat (limited to 'Source/cmInstallFilesCommand.h')
-rw-r--r--Source/cmInstallFilesCommand.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/cmInstallFilesCommand.h b/Source/cmInstallFilesCommand.h
index c02e9ce..ed6fb2e 100644
--- a/Source/cmInstallFilesCommand.h
+++ b/Source/cmInstallFilesCommand.h
@@ -52,7 +52,7 @@ public:
*/
virtual const char* GetTerseDocumentation()
{
- return "Create install rules for files.";
+ return "Old installation command. Use the INSTALL command.";
}
/**
@@ -69,7 +69,12 @@ public:
virtual const char* GetFullDocumentation()
{
return
- " INSTALL_FILES(<dir> extension file file ...)\n"
+ "This command has been superceded by the INSTALL command. It "
+ "is provided for compatibility with older CMake code. "
+ "The FILES form is directly replaced by the FILES form of the "
+ "INSTALL command. The regexp form can be expressed "
+ "more clearly using the GLOB form of the FILE command.\n"
+ " INSTALL_FILES(<dir> extension file file ...)\n"
"Create rules to install the listed files with the given extension "
"into the given directory. "
"Only files existing in the current source tree or its corresponding "