1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-23 09:37:51 +08:00

cmGlobalGenerator: Process evaluation files after target depends.

No need to generate the files if computation aborts generation.
This commit is contained in:
Stephen Kelly
2015-08-29 09:18:01 +02:00
parent 1e5349a5a0
commit ec56d24451

View File

@@ -1330,8 +1330,6 @@ void cmGlobalGenerator::Generate()
this->LocalGenerators[i]->GenerateTargetManifest();
}
this->ProcessEvaluationFiles();
// Compute the inter-target dependencies.
if(!this->ComputeTargetDepends())
{
@@ -1342,6 +1340,8 @@ void cmGlobalGenerator::Generate()
// it builds by default.
this->InitializeProgressMarks();
this->ProcessEvaluationFiles();
for (i = 0; i < this->LocalGenerators.size(); ++i)
{
this->LocalGenerators[i]->ComputeHomeRelativeOutputPath();