Browse Source

Ninja Multi-Config: Fix clean:all target

Kyle Edwards 5 years ago
parent
commit
657047cd24
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/cmGlobalNinjaGenerator.cxx

+ 1 - 0
Source/cmGlobalNinjaGenerator.cxx

@@ -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) {