| 23 | using namespace cmFSPermissions; |
| 24 | |
| 25 | cmFileInstaller::cmFileInstaller(cmExecutionStatus& status) |
| 26 | : cmFileCopier(status, "INSTALL") |
| 27 | { |
| 28 | // Installation does not use source permissions by default. |
| 29 | this->UseSourcePermissions = false; |
| 30 | // Check whether to copy files always or only if they have changed. |
| 31 | std::string install_always; |
| 32 | if (cmSystemTools::GetEnv("CMAKE_INSTALL_ALWAYS", install_always)) { |
| 33 | this->Always = cmIsOn(install_always); |
| 34 | } |
| 35 | // Get the current manifest. |
| 36 | this->Manifest = |
| 37 | this->Makefile->GetSafeDefinition("CMAKE_INSTALL_MANIFEST_FILES"); |
| 38 | } |
| 39 | cmFileInstaller::~cmFileInstaller() |
| 40 | { |
| 41 | // Save the updated install manifest. |