[cmake-developers] INCLUDE_DIRECTORIES variable expansion

Brad King brad.king at kitware.com
Thu Nov 29 14:44:22 EST 2012


On 11/29/2012 02:31 PM, Stephen Kelly wrote:
> Brad King wrote:
> 
>> On 11/29/2012 07:34 AM, Stephen Kelly wrote:
>>> The patch that added that line is
>>> d899eb71b52616c9e3f3f5987f229619605e632b. It is apparently there for
>>> strict backwards compatibility, but it is not clear what exactly needs to
>>> be backwards compatible there. Any idea about that?
>>
>> I don't know off the top of my head, Dave?
>>
>> Stephen, please add the policy that the d899eb71 commit message
>> suggests.  Only bother with expansion if the policy is OLD or
>> not set.
>>
> 
> Hmm, I guess that will mean that 
> 
>  http://thread.gmane.org/gmane.comp.kde.devel.buildsystem/7584
> 
> will not be fixed, because KDE does not set the policy to NEW. To fix that, 
> I would need to not do the expansion by default somehow. Is there any way to 
> do that?

If the expansion has always been done before why is it suddenly so
slow?  Is it because memoization was dropped?

-Brad



More information about the cmake-developers mailing list