浏览代码

Ninja Multi-Config: Fix clean:all target

Kyle Edwards 5 年之前
父节点
当前提交
657047cd24
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Source/cmGlobalNinjaGenerator.cxx

+ 1 - 0
Source/cmGlobalNinjaGenerator.cxx

@@ -1863,6 +1863,7 @@ void cmGlobalNinjaGenerator::WriteTargetClean(std::ostream& os)
         byproducts.push_back(
           this->BuildAlias(GetByproductsForCleanTargetName(), config));
       }
+      byproducts.emplace_back(GetByproductsForCleanTargetName());
       build.Variables["TARGETS"] = cmJoin(byproducts, " ");
 
       for (auto const& fileConfig : configs) {