[CMake] New type of cache variable: lists

Alexander Neundorf a.neundorf-work at gmx.net
Thu Dec 8 16:37:18 EST 2011


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.

Alex


More information about the CMake mailing list