[CMake] managing lists with space separated elements

Piotr Dobrogost pd at opensource.dobrogost.pl
Sat Apr 11 05:13:39 EDT 2009


Bill Hoffman wrote:

> There is no such thing as a list with spaces in CMake, that is a string.
>  So, no there is no way to use the list command on strings directly. You
> could use string(replace ) to do what you are trying to do.

I've seen people already asking about this feature.
Wouldn't that be useful to have this?
I don't see any reason why not to support both kinds of commonly used
lists instead of only one.


-- 
Piotr Dobrogost
*** curlpp.org - c++ wrapper for libcurl ***



More information about the CMake mailing list