Explorar o código

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 %!s(int64=5) %!d(string=hai) anos
pai
achega
1db8c1dce2
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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 ||