diff options
author | Brad King <brad.king@kitware.com> | 2009-04-29 12:47:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-04-29 12:47:13 (GMT) |
commit | 97263b6cddbfce534f4b607e45fc2cf2b834e5be (patch) | |
tree | 04b08d9a788f8f8049df1e7ba4dbb8319fda3c01 /Source/cmFileCommand.h | |
parent | bc6eec18dc6d92dbbcbd805f149796bca2b6ca4b (diff) | |
download | CMake-97263b6cddbfce534f4b607e45fc2cf2b834e5be.zip CMake-97263b6cddbfce534f4b607e45fc2cf2b834e5be.tar.gz CMake-97263b6cddbfce534f4b607e45fc2cf2b834e5be.tar.bz2 |
ENH: Send all file installations through one path
This creates a single cmFileInstaller method to dispatch installation of
symlinks, directories, and files. The change removes duplicate tests of
input file type and makes the decision more consistent.
Diffstat (limited to 'Source/cmFileCommand.h')
-rw-r--r-- | Source/cmFileCommand.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmFileCommand.h b/Source/cmFileCommand.h index ded7813..b75cecd 100644 --- a/Source/cmFileCommand.h +++ b/Source/cmFileCommand.h @@ -186,15 +186,13 @@ protected: int& itype, std::string& destination, std::string& rename, - std::vector<std::string>& files, - bool& optional + std::vector<std::string>& files ); bool DoInstall(cmFileInstaller& installer, const int itype, const std::string& rename, const std::string& destination, - const std::vector<std::string>& files, - const bool optional + const std::vector<std::string>& files ); bool HandleDownloadCommand(std::vector<std::string> const& args); void GetTargetTypeFromString(const std::string& stype, int& itype) const; |