Browse Source

cmGlobalGenerator: Process evaluation files after target depends.

No need to generate the files if computation aborts generation.
Stephen Kelly 10 years ago
parent
commit
ec56d24451
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/cmGlobalGenerator.cxx

+ 2 - 2
Source/cmGlobalGenerator.cxx

@@ -1330,8 +1330,6 @@ void cmGlobalGenerator::Generate()
     this->LocalGenerators[i]->GenerateTargetManifest();
     }
 
-  this->ProcessEvaluationFiles();
-
   // Compute the inter-target dependencies.
   if(!this->ComputeTargetDepends())
     {
@@ -1342,6 +1340,8 @@ void cmGlobalGenerator::Generate()
   // it builds by default.
   this->InitializeProgressMarks();
 
+  this->ProcessEvaluationFiles();
+
   for (i = 0; i < this->LocalGenerators.size(); ++i)
     {
     this->LocalGenerators[i]->ComputeHomeRelativeOutputPath();