[CMake] New type of cache variable: lists

Robert Dailey rcdailey at gmail.com
Thu Dec 8 17:32:26 EST 2011


2011/12/8 Alexander Neundorf <a.neundorf-work at gmx.net>

> On Thursday 08 December 2011, Robert Dailey wrote:
> ...
> > Perhaps the mental leap is the inverse of what you propose: A list is
> not a
> > string and should not be a string (although the syntax differences
> between
> > them are minor). Also keep in mind that I'm talking about state of mind.
> > The CMake code might argue against me, but when I'm using CMake code I
> > don't care about what CMake is calling a list.
>
> IMO it's a good thing to be aware of how strings and lists are handled in
> cmake, so you know what is actually going on, and know how to convert
> between
> them etc. This should make for less surprises.


I agree. I was attempting to state however that there is a difference
between being aware of the behavior and actively perceiving the objects in
a way that is less intuitive.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111208/4439c8fc/attachment.htm>


More information about the CMake mailing list