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

Method AppendRuleDepend

Source/cmLocalUnixMakefileGenerator3.cxx:923–932  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

921}
922
923void cmLocalUnixMakefileGenerator3::AppendRuleDepend(
924 std::vector<std::string>& depends, char const* ruleFileName)
925{
926 // Add a dependency on the rule file itself unless an option to skip
927 // it is specifically enabled by the user or project.
928 cmValue nodep = this->Makefile->GetDefinition("CMAKE_SKIP_RULE_DEPENDENCY");
929 if (nodep.IsOff()) {
930 depends.emplace_back(ruleFileName);
931 }
932}
933
934void cmLocalUnixMakefileGenerator3::AppendRuleDepends(
935 std::vector<std::string>& depends, std::vector<std::string> const& ruleFiles)

Callers 3

WriteRuleFilesMethod · 0.80
WriteObjectRuleFilesMethod · 0.80
AppendObjectDependsMethod · 0.80

Calls 3

emplace_backMethod · 0.80
GetDefinitionMethod · 0.45
IsOffMethod · 0.45

Tested by

no test coverage detected