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

Method AddDirectoryInstallRule

Source/cmInstallDirectoryGenerator.cxx:105–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void cmInstallDirectoryGenerator::AddDirectoryInstallRule(
106 std::ostream& os, std::string const& config, Indent indent,
107 std::vector<std::string> const& dirs)
108{
109 // Write code to install the directories.
110 char const* no_rename = nullptr;
111 this->AddInstallRule(os, this->GetDestination(config),
112 cmInstallType_DIRECTORY, dirs, this->Optional,
113 this->FilePermissions.c_str(),
114 this->DirPermissions.c_str(), no_rename,
115 this->LiteralArguments.c_str(), indent);
116}
117
118std::string cmInstallDirectoryGenerator::GetDestination(
119 std::string const& config) const

Callers 2

GenerateScriptActionsMethod · 0.95

Calls 3

GetDestinationMethod · 0.95
AddInstallRuleMethod · 0.80
c_strMethod · 0.80

Tested by

no test coverage detected