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

Method GetFullDepfile

Source/cmCustomCommandGenerator.cxx:439–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

437}
438
439std::string cmCustomCommandGenerator::GetFullDepfile() const
440{
441 std::string depfile = this->GetDepfile();
442 if (depfile.empty()) {
443 return "";
444 }
445
446 if (!cmSystemTools::FileIsFullPath(depfile)) {
447 depfile = cmStrCat(this->LG->GetCurrentBinaryDirectory(), '/', depfile);
448 }
449 return cmSystemTools::CollapseFullPath(depfile);
450}
451
452std::string cmCustomCommandGenerator::GetInternalDepfileName(
453 std::string const& /*config*/, std::string const& depfile) const

Callers 5

GetInternalDepfileMethod · 0.95
WriteCustomRuleCppMethod · 0.80
WriteCustomRuleCSharpMethod · 0.80

Calls 3

GetDepfileMethod · 0.95
cmStrCatFunction · 0.70
emptyMethod · 0.45

Tested by

no test coverage detected