mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 02:19:18 -05:00
GenEx: Revert "Limit TARGET_PROPERTY transitive closure optimization"
Revert commit 4a11772618 (GenEx: Limit TARGET_PROPERTY transitive
closure optimization to subgraphs, 2024-05-31, v3.31.0-rc1~114^2).
The change caused substantial performance regressions in some
existing use cases. Revert it pending further investigation.
Issue: #25728
Fixes: #26457
This commit is contained in:
@@ -977,23 +977,11 @@ public:
|
||||
const std::string& report,
|
||||
const std::string& compatibilityType) const;
|
||||
|
||||
/** Configures TransitiveClosureOptimization. Re-evaluation of a
|
||||
transitive property will only be optimized within a subgraph. */
|
||||
enum class TransitiveClosure
|
||||
{
|
||||
Inherit, // node is in the same subgraph as its' parent
|
||||
Subgraph, // the current node spans a new subgraph
|
||||
};
|
||||
|
||||
class TargetPropertyEntry;
|
||||
|
||||
std::string EvaluateInterfaceProperty(
|
||||
std::string const& prop, cmGeneratorExpressionContext* context,
|
||||
cmGeneratorExpressionDAGChecker* dagCheckerParent, UseTo usage) const;
|
||||
std::string EvaluateInterfaceProperty(
|
||||
std::string const& prop, cmGeneratorExpressionContext* context,
|
||||
cmGeneratorExpressionDAGChecker* dagCheckerParent, UseTo usage,
|
||||
TransitiveClosure closure) const;
|
||||
|
||||
struct TransitiveProperty
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user