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.

This commit is contained in:
Brad King
2006-02-19 18:47:13 -05:00
parent 4140f4a6fa
commit 518080136d
11 changed files with 243 additions and 59 deletions

View File

@@ -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 "