[cmake-developers] Issues with generator expressions and lists
Brad King
brad.king at kitware.com
Thu Feb 28 07:49:51 EST 2013
On 02/28/2013 07:39 AM, Stephen Kelly wrote:
> set(COMMARGS $<1:one> "$<1:two;three>" $<1:four;five>)
...
> echo one two three four five
This is already the case for any argument lists. CMake flattens lists.
> Maybe the solution is to leave raw list literals disallowed in COMMANDs, and
> to use a property like I did in the unit test with the
>
> $<TARGET_PROPERTY:consumer,INCLUDES_PROPERTY_HACK>
That can be used as a workaround for now. New syntax support can be
added later as I said in my other response a few minutes ago.
-Brad
More information about the cmake-developers
mailing list