diff options
author | Brad King <brad.king@kitware.com> | 2006-02-19 23:47:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-02-19 23:47:13 (GMT) |
commit | 518080136d2b643b2b27ae1ef69cee28306c2f81 (patch) | |
tree | 3e57cf1c6f7943dcff3bb879e0da13bc01f97412 /Source/cmInstallProgramsCommand.h | |
parent | 4140f4a6faa63042cdb5378061cf8d30040a7dd1 (diff) | |
download | CMake-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/cmInstallProgramsCommand.h')
-rw-r--r-- | Source/cmInstallProgramsCommand.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/cmInstallProgramsCommand.h b/Source/cmInstallProgramsCommand.h index 7aff27f..f50403b 100644 --- a/Source/cmInstallProgramsCommand.h +++ b/Source/cmInstallProgramsCommand.h @@ -52,7 +52,7 @@ public: */ virtual const char* GetTerseDocumentation() { - return "Create install rules for programs."; + return "Old installation command. Use the INSTALL command."; } /** @@ -69,6 +69,11 @@ public: virtual const char* GetFullDocumentation() { return + "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 PROGRAMS form of the " + "INSTALL command. The regexp form can be expressed more clearly " + "using the GLOB form of the FILE command.\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. " @@ -78,7 +83,8 @@ public: "In the second form any program in the current source directory that " "matches the regular expression will be installed.\n" "This command is intended to install programs that are not built " - "by cmake, such as shell scripts. See INSTALL_TARGETS to " + "by cmake, such as shell scripts. See the TARGETS form of " + "the INSTALL command to " "create installation rules for targets built by cmake.\n" "The directory <dir> is relative to the installation prefix, which " "is stored in the variable CMAKE_INSTALL_PREFIX."; |