mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 22:58:37 -05:00
GenEx: Limit TARGET_PROPERTY transitive closure optimization to subgraphs
Fixes: #25728
This commit is contained in:
@@ -918,11 +918,23 @@ 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