diff options
author | Brad King <brad.king@kitware.com> | 2001-07-31 15:29:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-07-31 15:29:21 (GMT) |
commit | cfa25e9e1a48938378c300dfbf5b33e62018f295 (patch) | |
tree | 146a67f93597b35e69c38255aaddbd0547b19f81 /Source/cmCommands.cxx | |
parent | 489e91a1f7b1d5d9542cb965b47a44f99878c7a5 (diff) | |
download | CMake-cfa25e9e1a48938378c300dfbf5b33e62018f295.zip CMake-cfa25e9e1a48938378c300dfbf5b33e62018f295.tar.gz CMake-cfa25e9e1a48938378c300dfbf5b33e62018f295.tar.bz2 |
ENH: Added INSTALL_PROGRAMS command and corresponding support. This involved splitting cmTarget::INSTALL into INSTALL_FILES and INSTALL_PROGRAMS enum values. INSTALL_FILES no longer adds execute permission. The INSTALL_PROGRAMS commnad takes either a list of explicit names, or a regex. It will not expand source lists like the INSTALL_FILES command will.
Diffstat (limited to 'Source/cmCommands.cxx')
-rw-r--r-- | Source/cmCommands.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmCommands.cxx b/Source/cmCommands.cxx index 6f474e7..bebf2ca 100644 --- a/Source/cmCommands.cxx +++ b/Source/cmCommands.cxx @@ -33,6 +33,7 @@ #include "cmIncludeDirectoryCommand.cxx" #include "cmIncludeRegularExpressionCommand.cxx" #include "cmInstallFilesCommand.cxx" +#include "cmInstallProgramsCommand.cxx" #include "cmInstallTargetsCommand.cxx" #include "cmLinkDirectoriesCommand.cxx" #include "cmLinkLibrariesCommand.cxx" @@ -87,6 +88,7 @@ void GetPredefinedCommands(std::list<cmCommand*>& commands) commands.push_back(new cmIncludeDirectoryCommand); commands.push_back(new cmIncludeRegularExpressionCommand); commands.push_back(new cmInstallFilesCommand); + commands.push_back(new cmInstallProgramsCommand); commands.push_back(new cmInstallTargetsCommand); commands.push_back(new cmLinkDirectoriesCommand); commands.push_back(new cmLinkLibrariesCommand); |