summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-11 12:27:03 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-09-11 12:27:12 (GMT)
commit1db8c1dce232bf933e30c489f836c754ce8e5daa (patch)
tree5cf5a3f2f262fb6bb7fe12730a352dd14f2084c0
parent06cb6a162872cdd45a51dfce718d63ecea8a2d03 (diff)
parentaee2c512246ec225cd9a3b3ce1a81b4d6e9491cb (diff)
downloadCMake-1db8c1dce232bf933e30c489f836c754ce8e5daa.zip
CMake-1db8c1dce232bf933e30c489f836c754ce8e5daa.tar.gz
CMake-1db8c1dce232bf933e30c489f836c754ce8e5daa.tar.bz2
Merge topic 'file-GENERATE-earlier' into release-3.18
aee2c51224 file(GENERATE): Create output file structures for all directories first Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5209
-rw-r--r--Source/cmGlobalGenerator.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 4dc4092..bf8f6cb 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/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 ||