On 04/23/2013 03:26 PM, Stephen Kelly wrote:
> The $<JOIN> branch is almost ready, but I thought something worth bringing 
> up is the use of a comma as a separator.
[snip]
>  $<JOIN:one;two;three,,> # results in one,two,three
> 
> Do you think that's more or less confusing? Should I implement it?

I think the literal "," is fine.  Authors that think it is confusing
can choose to use $<COMMA> if they wish.

However, won't

 -I$<JOIN:$<TARGET_PROP:${target},INCLUDE_DIRECTORIES>,-I>

result in

 -Ia-Ib-Ic

?  What decides if the output of a JOIN is a list or string?

-Brad
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to