[CMake] list( LENGTH ) problem

Robert Dailey rcdailey at gmail.com
Tue Dec 2 15:27:40 EST 2008


Hi,

I execute the following CMake code:

list( LENGTH "foo;bar" listlen )
message( ${listlen} )

However, this results in the value "0" to be printed. I expect this to print
"2". What am I doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081202/47183a4f/attachment.htm>


More information about the CMake mailing list