MCPcopy Create free account
hub / github.com/Kitware/CMake / Install

Method Install

Source/cmFileInstaller.cxx:76–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 return (this->Optional || this->cmFileCopier::ReportMissing(fromFile));
75}
76bool 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
86bool cmFileInstaller::InstallFile(std::string const& fromFile,
87 std::string const& toFile,

Callers

nothing calls this directly

Calls 3

MatchPropertiesClass · 0.85
InstallDirectoryMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected