Re: [cmake-developers] Generator expressisons in target properties (was Re: conditionals in generator expressions)

2012-10-26 Thread Stephen Kelly
Stephen Kelly wrote: The topics use-generator-target and target-location-configure-time don't depend on anything or each other, so I can work on merging them when development opens again. After that export-at-generate-time can be rewritten. After that I'll get the contents of

Re: [cmake-developers] Generator expressisons in target properties (was Re: conditionals in generator expressions)

2012-10-23 Thread Stephen Kelly
Brad King wrote: On 10/22/2012 05:42 PM, Stephen Kelly wrote: Ah, I was wondering about that when I wrote that patch, but forgot to put in the email. I thought they would be able to have per-config dependencies. set_property(TARGET foo LINK_LIBRARIES $$Config:Debug:debughelpers will

Re: [cmake-developers] Generator expressisons in target properties (was Re: conditionals in generator expressions)

2012-10-23 Thread Brad King
On 10/23/2012 09:13 AM, Stephen Kelly wrote: What is 'link-aware code'? A part of the cmake implementation that has rules specific to linking where the difference between the direct and transitive dependencies is important? cmComputeLinkDepends is exclusively responsible for handling

Re: [cmake-developers] Generator expressisons in target properties (was Re: conditionals in generator expressions)

2012-10-23 Thread Stephen Kelly
Brad King wrote: On 10/23/2012 09:13 AM, Stephen Kelly wrote: What is 'link-aware code'? A part of the cmake implementation that has rules specific to linking where the difference between the direct and transitive dependencies is important? cmComputeLinkDepends is exclusively responsible

Re: [cmake-developers] Generator expressisons in target properties (was Re: conditionals in generator expressions)

2012-10-23 Thread Brad King
On 10/23/2012 10:15 AM, Stephen Kelly wrote: Something like this, yes. It may be really nasty to know when to trigger the policy because we need to know whether the project loads its own export() output. One way would be for include() and find_package() to query the global generator to

Re: [cmake-developers] Generator expressisons in target properties (was Re: conditionals in generator expressions)

2012-10-23 Thread Stephen Kelly
Brad King wrote: On 10/23/2012 10:15 AM, Stephen Kelly wrote: Something like this, yes. It may be really nasty to know when to trigger the policy because we need to know whether the project loads its own export() output. One way would be for include() and find_package() to query the

Re: [cmake-developers] Generator expressisons in target properties (was Re: conditionals in generator expressions)

2012-10-23 Thread Brad King
On 10/23/2012 10:49 AM, Stephen Kelly wrote: Yep, can do. I already had several local topics. I've reordered them, force pushed and also pushed the intermediate branches. The topics use-generator-target and target-location-configure-time don't depend on anything or each other, so I can

[cmake-developers] Generator expressisons in target properties (was Re: conditionals in generator expressions)

2012-10-22 Thread Stephen Kelly
Stephen Kelly steveire@... writes: Brad King wrote: The only option I see that might work is to extend the undefined behavior documentation of the LOCATION* properties to cover use of generator expressions with link libraries, and then try to refactor/copy the code out of cmTarget to

Re: [cmake-developers] Generator expressisons in target properties (was Re: conditionals in generator expressions)

2012-10-22 Thread Brad King
On 10/22/2012 01:24 PM, Stephen Kelly wrote: That's in the use-generator-target-2 branch in my clone. git://gitorious.org/~steveire/cmake/steveires-cmake.git I'll rebase and submit the contents of it in several parallel branches when 2.8.11 opens. I'll also fix the style issues in the

Re: [cmake-developers] Generator expressisons in target properties (was Re: conditionals in generator expressions)

2012-10-22 Thread Stephen Kelly
Brad King wrote: On 10/22/2012 01:24 PM, Stephen Kelly wrote: That's in the use-generator-target-2 branch in my clone. git://gitorious.org/~steveire/cmake/steveires-cmake.git I'll rebase and submit the contents of it in several parallel branches when 2.8.11 opens. I'll also fix the style