Sfoglia il codice sorgente

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 anni fa
parent
commit
1db8c1dce2
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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 ||