summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-04-29 17:12:58 (GMT)
committerBrad King <brad.king@kitware.com>2009-04-29 17:12:58 (GMT)
commit6aaa7d45bff3670f9181bcf656076cac2ef407c4 (patch)
tree24b48195941a89becb430b75fd134dde88da2d73 /Source/cmFileCommand.h
parent97263b6cddbfce534f4b607e45fc2cf2b834e5be (diff)
downloadCMake-6aaa7d45bff3670f9181bcf656076cac2ef407c4.zip
CMake-6aaa7d45bff3670f9181bcf656076cac2ef407c4.tar.gz
CMake-6aaa7d45bff3670f9181bcf656076cac2ef407c4.tar.bz2
ENH: Refactor file(INSTALL) implementation
The undocumented file(INSTALL) is implemented by a cmFileInstaller class inside cmFileCommand. This refactors the class to split out code not specific to installation into a cmFileCopier base class.
Diffstat (limited to 'Source/cmFileCommand.h')
-rw-r--r--Source/cmFileCommand.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/Source/cmFileCommand.h b/Source/cmFileCommand.h
index b75cecd..04bb661 100644
--- a/Source/cmFileCommand.h
+++ b/Source/cmFileCommand.h
@@ -179,32 +179,8 @@ protected:
bool HandleRPathRemoveCommand(std::vector<std::string> const& args);
bool HandleDifferentCommand(std::vector<std::string> const& args);
- // file(INSTALL ...) related functions
bool HandleInstallCommand(std::vector<std::string> const& args);
- bool ParseInstallArgs(std::vector<std::string> const& args,
- cmFileInstaller& installer,
- int& itype,
- std::string& destination,
- std::string& rename,
- 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
- );
bool HandleDownloadCommand(std::vector<std::string> const& args);
- void GetTargetTypeFromString(const std::string& stype, int& itype) const;
- bool HandleInstallDestination(cmFileInstaller& installer,
- std::string& destination);
- void HandleInstallPermissions(cmFileInstaller& installer,
- mode_t& permissions_file,
- mode_t& permissions_dir,
- int itype,
- bool use_given_permissions_file,
- bool use_given_permissions_dir,
- bool use_source_permissions) const;
};