| 3794 | } |
| 3795 | |
| 3796 | void cmGlobalGenerator::WriteRuleHashes(std::string const& pfile) |
| 3797 | { |
| 3798 | // Now generate a new persistence file with the current hashes. |
| 3799 | if (this->RuleHashes.empty()) { |
| 3800 | cmSystemTools::RemoveFile(pfile); |
| 3801 | } else { |
| 3802 | cmGeneratedFileStream fout(pfile); |
| 3803 | fout << "# Hashes of file build rules.\n"; |
| 3804 | for (auto const& rh : this->RuleHashes) { |
| 3805 | fout.write(rh.second.Data, 32); |
| 3806 | fout << ' ' << rh.first << '\n'; |
| 3807 | } |
| 3808 | } |
| 3809 | } |
| 3810 | |
| 3811 | void cmGlobalGenerator::WriteSummary() |
| 3812 | { |
no test coverage detected