[cmake-developers] [CMake] 2.8.11-rc3 generator expression error

Brad King brad.king at kitware.com
Thu May 2 08:11:38 EDT 2013


On 05/02/2013 02:46 AM, Stephen Kelly wrote:
> Brad King wrote:
>> On 04/30/2013 07:38 PM, Stephen Kelly wrote:
>> I'm saying that even after the current version of the topic the
>> caching is still accumulating across configurations in multi-config
>> generators.  AFAICT that part is not yet fixed.  The
>> CachedLinkInterfaceIncludeDirectoriesEntries needs to map from config
>> to list of entries.
> 
> Hmm, I don't think that is true currently.

The logic is:

if(cachingDone[config])
  {
  cachedEntries.push_back(expr);
  }
cachingDone[config] = true;

When that runs for multiple configurations then it will duplicate the
expr entry, accumulating one for each config.

-Brad



More information about the cmake-developers mailing list