| 74 | return (this->Optional || this->cmFileCopier::ReportMissing(fromFile)); |
| 75 | } |
| 76 | bool cmFileInstaller::Install(std::string const& fromFile, |
| 77 | std::string const& toFile) |
| 78 | { |
| 79 | // Support installing from empty source to make a directory. |
| 80 | if (this->InstallType == cmInstallType_DIRECTORY && fromFile.empty()) { |
| 81 | return this->InstallDirectory(fromFile, toFile, MatchProperties()); |
| 82 | } |
| 83 | return this->cmFileCopier::Install(fromFile, toFile); |
| 84 | } |
| 85 | |
| 86 | bool cmFileInstaller::InstallFile(std::string const& fromFile, |
| 87 | std::string const& toFile, |
nothing calls this directly
no test coverage detected