summaryrefslogtreecommitdiff
path: root/Source/cmFileCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-04-29 08:47:13 -0400
committerBrad King <brad.king@kitware.com>2009-04-29 08:47:13 -0400
commit97263b6cddbfce534f4b607e45fc2cf2b834e5be (patch)
tree04b08d9a788f8f8049df1e7ba4dbb8319fda3c01 /Source/cmFileCommand.h
parentbc6eec18dc6d92dbbcbd805f149796bca2b6ca4b (diff)
downloadcmake-97263b6cddbfce534f4b607e45fc2cf2b834e5be.tar.gz
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.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmFileCommand.h b/Source/cmFileCommand.h
index ded7813e63..b75cecd9be 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;