diff options
author | Brad King <brad.king@kitware.com> | 2024-12-05 13:10:24 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2024-12-05 13:10:35 (GMT) |
commit | 4d4d7b793dd19ae2d13b04010af1a83b73e7f651 (patch) | |
tree | 8b3379f6ac30efc64b30d281c9f5cee9e7444004 /Source | |
parent | eca2e2650a0bc2c3b2c964c602b991658e4fea74 (diff) | |
parent | debc4d39069faecba2cf8c6263bb7d974c3bf34b (diff) | |
download | CMake-4d4d7b793dd19ae2d13b04010af1a83b73e7f651.zip CMake-4d4d7b793dd19ae2d13b04010af1a83b73e7f651.tar.gz CMake-4d4d7b793dd19ae2d13b04010af1a83b73e7f651.tar.bz2 |
Merge topic 'autogen-revert-ui-rebuild' into release-3.31
debc4d3906 Autogen: Revert adding ui files to byproducts of the timestamp target
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !10056
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmQtAutoGenInitializer.cxx | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/Source/cmQtAutoGenInitializer.cxx b/Source/cmQtAutoGenInitializer.cxx index b75a574..c9dd154 100644 --- a/Source/cmQtAutoGenInitializer.cxx +++ b/Source/cmQtAutoGenInitializer.cxx @@ -1340,25 +1340,9 @@ bool cmQtAutoGenInitializer::InitAutogenTarget() } if (this->Uic.Enabled) { - auto const useAdvancedUicGraph = [this]() -> bool { - if (this->MultiConfig && this->GlobalGen->IsNinja()) { - return this->UseBetterGraph; - } - return true; - }(); - if (useAdvancedUicGraph) { - // Make all ui_*.h files byproducts of the ${target}_autogen/timestamp - // custom command if the generation of depfile is enabled. - auto& byProducts = useDepfile ? timestampByproducts : autogenByproducts; - for (auto const& file : this->Uic.UiHeaders) { - this->AddGeneratedSource(file.first, this->Uic); - byProducts.push_back(file.second); - } - } else { - for (auto const& file : this->Uic.UiHeaders) { - this->AddGeneratedSource(file.first, this->Uic); - autogenByproducts.push_back(file.second); - } + for (auto const& file : this->Uic.UiHeaders) { + this->AddGeneratedSource(file.first, this->Uic); + autogenByproducts.push_back(file.second); } } |