[cmake-developers] generator expressions with variable

Stephen Kelly steveire at gmail.com
Sun Apr 20 04:28:16 EDT 2014


Tim Blechmann wrote:

>>> $<1:-I $<JOIN:a;b;c , -I>>
>>>
>>> though it does not matter, if the target is passed via variable or
>>> directly.
>>>
>>> any idea?
>>>
>> 
>> 
>> Please provide a http://www.sscce.org/
> 
> see attached file!


The generator expression stops parsing at whitespace. I believe you're 
hitting a problem related to what is discussed in this thread:

 http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/7063

It will require patching CMake, but there is no one working on a patch yet.

 http://public.kitware.com/Bug/view.php?id=14353

Thanks,

Steve.






More information about the cmake-developers mailing list