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

Method WriteObjectDependRules

Source/cmMakefileTargetGenerator.cxx:1600–1609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1598}
1599
1600void cmMakefileTargetGenerator::WriteObjectDependRules(
1601 cmSourceFile const& source, std::vector<std::string>& depends)
1602{
1603 // Create the list of dependencies known at cmake time. These are
1604 // shared between the object file and dependency scanning rule.
1605 depends.push_back(source.GetFullPath());
1606 if (cmValue objectDeps = source.GetProperty("OBJECT_DEPENDS")) {
1607 cmExpandList(*objectDeps, depends);
1608 }
1609}
1610
1611void cmMakefileTargetGenerator::WriteDeviceLinkRule(
1612 std::vector<std::string>& commands, std::string const& output)

Callers 1

WriteObjectRuleFilesMethod · 0.95

Calls 4

cmExpandListFunction · 0.85
push_backMethod · 0.80
GetFullPathMethod · 0.45
GetPropertyMethod · 0.45

Tested by

no test coverage detected