[cmake-developers] Interface includes and defines plumbing
Brad King
brad.king at kitware.com
Fri Jan 4 09:13:06 EST 2013
On 01/04/2013 08:39 AM, Stephen Kelly wrote:
> Stephen Kelly wrote:
>
>> Brad King wrote:
>>> * In the "Use mapped config properties to evaluate $<CONFIG>" you add
>>> code
>>> to handle MAP_IMPORTED_CONFIG. I think that should be an API on
>>> cmTarget refactored from its existing imported config selection code.
>>
>> You mean you want the $<CONFIG:mappedCfg> expression to depend on whether
>> LOCATION_mappedCfg exists, as the logic in ComputeImportInfo requires?
>
> Done now, I think.
Yes. For any given imported target a specific imported configuration
must be chosen to correspond to each of the current project's configs.
I think any place that uses context->Config needs to map it through
this lookup, not just $<CONFIG:...>, right?
-Brad
More information about the cmake-developers
mailing list