Răsfoiți Sursa

Merge topic 'file-GENERATE-earlier' into release-3.18

aee2c51224 file(GENERATE): Create output file structures for all directories first

Acked-by: Kitware Robot <[email protected]>
Merge-request: !5209
Brad King 5 ani în urmă
părinte
comite
1db8c1dce2
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      Source/cmGlobalGenerator.cxx

+ 2 - 0
Source/cmGlobalGenerator.cxx

@@ -1611,6 +1611,8 @@ bool cmGlobalGenerator::AddAutomaticSources()
 {
   for (const auto& lg : this->LocalGenerators) {
     lg->CreateEvaluationFileOutputs();
+  }
+  for (const auto& lg : this->LocalGenerators) {
     for (const auto& gt : lg->GetGeneratorTargets()) {
       if (gt->GetType() == cmStateEnums::INTERFACE_LIBRARY ||
           gt->GetType() == cmStateEnums::UTILITY ||