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 -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers