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

Method AdditionalCleanFiles

Source/cmLocalFastbuildGenerator.cxx:99–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99void cmLocalFastbuildGenerator::AdditionalCleanFiles(std::string const& config)
100{
101 if (cmValue prop_value =
102 this->Makefile->GetProperty("ADDITIONAL_CLEAN_FILES")) {
103 cmList cleanFiles{ cmGeneratorExpression::Evaluate(*prop_value, this,
104 config) };
105 std::string const& binaryDir = this->GetCurrentBinaryDirectory();
106 auto* gg = this->GetGlobalFastbuildGenerator();
107 for (auto const& cleanFile : cleanFiles) {
108 // Support relative paths
109 gg->AddFileToClean(gg->ConvertToFastbuildPath(
110 cmSystemTools::CollapseFullPath(cleanFile, binaryDir)));
111 }
112 }
113}
114
115std::string cmLocalFastbuildGenerator::ConvertToIncludeReference(
116 std::string const& path, cmOutputConverter::OutputFormat format)

Callers 1

GenerateMethod · 0.95

Calls 4

AddFileToCleanMethod · 0.80
GetPropertyMethod · 0.45

Tested by

no test coverage detected