mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-18 13:10:17 -06:00
Makefile: Add custom command byproducts to clean rules
This commit is contained in:
@@ -181,6 +181,12 @@ void cmMakefileTargetGenerator::WriteTargetBuildRules()
|
||||
this->LocalGenerator->MaybeConvertToRelativePath(currentBinDir,
|
||||
output));
|
||||
}
|
||||
const std::vector<std::string>& byproducts = ccg.GetByproducts();
|
||||
for (std::string const& byproduct : byproducts) {
|
||||
this->CleanFiles.push_back(
|
||||
this->LocalGenerator->MaybeConvertToRelativePath(currentBinDir,
|
||||
byproduct));
|
||||
}
|
||||
}
|
||||
}
|
||||
std::vector<cmSourceFile const*> headerSources;
|
||||
|
||||
Reference in New Issue
Block a user