mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 22:37:30 +08:00
Ninja Multi-Config: Fix clean:all target
This commit is contained in:
@@ -1863,6 +1863,7 @@ void cmGlobalNinjaGenerator::WriteTargetClean(std::ostream& os)
|
|||||||
byproducts.push_back(
|
byproducts.push_back(
|
||||||
this->BuildAlias(GetByproductsForCleanTargetName(), config));
|
this->BuildAlias(GetByproductsForCleanTargetName(), config));
|
||||||
}
|
}
|
||||||
|
byproducts.emplace_back(GetByproductsForCleanTargetName());
|
||||||
build.Variables["TARGETS"] = cmJoin(byproducts, " ");
|
build.Variables["TARGETS"] = cmJoin(byproducts, " ");
|
||||||
|
|
||||||
for (auto const& fileConfig : configs) {
|
for (auto const& fileConfig : configs) {
|
||||||
|
Reference in New Issue
Block a user