Forráskód Böngészése

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 éve
szülő
commit
1db8c1dce2
1 módosított fájl, 2 hozzáadás és 0 törlés
  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 ||