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

Method AppendCustomDepend

Source/cmLocalUnixMakefileGenerator3.cxx:953–963  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

951}
952
953void cmLocalUnixMakefileGenerator3::AppendCustomDepend(
954 std::vector<std::string>& depends, cmCustomCommandGenerator const& ccg)
955{
956 for (std::string const& d : ccg.GetDepends()) {
957 // Lookup the real name of the dependency in case it is a CMake target.
958 std::string dep;
959 if (this->GetRealDependency(d, this->GetConfigName(), dep)) {
960 depends.push_back(std::move(dep));
961 }
962 }
963}
964
965void cmLocalUnixMakefileGenerator3::AppendCustomCommands(
966 std::vector<std::string>& commands, std::vector<cmCustomCommand> const& ccs,

Callers 2

AppendCustomDependsMethod · 0.95

Calls 4

moveFunction · 0.85
GetDependsMethod · 0.80
GetRealDependencyMethod · 0.80
push_backMethod · 0.80

Tested by

no test coverage detected