浏览代码

BUG: add a fast version for preinstall

Ken Martin 19 年之前
父节点
当前提交
4394cc80de
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Source/cmLocalUnixMakefileGenerator3.cxx

+ 4 - 0
Source/cmLocalUnixMakefileGenerator3.cxx

@@ -1449,6 +1449,10 @@ void cmLocalUnixMakefileGenerator3
                         this->Makefile->GetStartOutputDirectory());
                         this->Makefile->GetStartOutputDirectory());
   this->WriteMakeRule(ruleFileStream, "Prepare targets for installation.",
   this->WriteMakeRule(ruleFileStream, "Prepare targets for installation.",
                       "preinstall", depends, commands, true);
                       "preinstall", depends, commands, true);
+  commands.clear();
+  depends.push_back("preinstall");
+  this->WriteMakeRule(ruleFileStream, "Prepare targets for installation.",
+                      "preinstall/fast", depends, commands, true);
 
 
   // write the depend rule, really a recompute depends rule
   // write the depend rule, really a recompute depends rule
   depends.clear();
   depends.clear();