| 450 | } |
| 451 | |
| 452 | std::string cmCustomCommandGenerator::GetInternalDepfileName( |
| 453 | std::string const& /*config*/, std::string const& depfile) const |
| 454 | { |
| 455 | cmCryptoHash hash(cmCryptoHash::AlgoSHA256); |
| 456 | std::string extension; |
| 457 | switch (*this->LG->GetGlobalGenerator()->DepfileFormat()) { |
| 458 | case cmDepfileFormat::GccDepfile: |
| 459 | case cmDepfileFormat::MakeDepfile: |
| 460 | extension = ".d"; |
| 461 | break; |
| 462 | case cmDepfileFormat::MSBuildAdditionalInputs: |
| 463 | extension = ".AdditionalInputs"; |
| 464 | break; |
| 465 | } |
| 466 | return cmStrCat(this->LG->GetBinaryDirectory(), "/CMakeFiles/d/", |
| 467 | hash.HashString(depfile), extension); |
| 468 | } |
| 469 | |
| 470 | std::string cmCustomCommandGenerator::GetInternalDepfile() const |
| 471 | { |
no test coverage detected