[cmake-developers] New INTERFACE_LINK_LIBRARIES policy approach
Brad King
brad.king at kitware.com
Thu Jan 3 16:33:02 EST 2013
On 12/29/2012 05:14 AM, Stephen Kelly wrote:
> Brad King wrote:
>
>> When the property is not set (internally it is WARN) then tll()
>
> s/property/policy/ ?
Yes.
> s/internally/initially/ ?
No, I was referring to cmPolicies::WARN.
>> will populate both the old and new properties. ComputeLinkInfo
>
> do you mean cmComputeLinkDepends?
Oops, I meant cmTarget::ComputeLinkInterface.
>> will compute both the old and new style link interfaces, warn if
>> they are different, and use the old one.
>
> I think that's much more complex. Why do you think it's less complex than
> what is currently in my branch which compares the contents of the properties
> instead?
It is the same as in your current branch.
> What would happen if foo has policy WARN, and bar has policy NEW, and foo
> depends on bar, and the policy is triggered?
I think this question is moot given the above two answers. The
policy is not evaluated transitively.
-Brad
More information about the cmake-developers
mailing list