[CMake] New type of cache variable: lists

Robert Dailey rcdailey at gmail.com
Fri Dec 9 09:59:34 EST 2011


On Thu, Dec 8, 2011 at 7:59 PM, David Cole <david.cole at kitware.com> wrote:

> Well, nearly....
>
> You'll have to double-quote the "${documentation}" inside the function
> in case it is the empty string...
>

Or if it has spaces in it, right? Any time I have a string with spaces in
it, or that could have spaces in it, I use quotes so the value of the
string doesn't get interpreted as multiple parameters (like a list)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111209/9143eff9/attachment.htm>


More information about the CMake mailing list