| 841 | } |
| 842 | |
| 843 | void cmFastbuildTargetGenerator::AdditionalCleanFiles() |
| 844 | { |
| 845 | if (cmValue prop_value = |
| 846 | this->GeneratorTarget->GetProperty("ADDITIONAL_CLEAN_FILES")) { |
| 847 | auto* lg = this->LocalGenerator; |
| 848 | cmList cleanFiles(cmGeneratorExpression::Evaluate(*prop_value, lg, Config, |
| 849 | this->GeneratorTarget)); |
| 850 | std::string const& binaryDir = lg->GetCurrentBinaryDirectory(); |
| 851 | auto* gg = lg->GetGlobalFastbuildGenerator(); |
| 852 | for (auto const& cleanFile : cleanFiles) { |
| 853 | // Support relative paths |
| 854 | gg->AddFileToClean(gg->ConvertToFastbuildPath( |
| 855 | cmSystemTools::CollapseFullPath(cleanFile, binaryDir))); |
| 856 | } |
| 857 | } |
| 858 | } |
nothing calls this directly
no test coverage detected