[CMake] 2D arrays

Robert Dailey rcdailey at gmail.com
Mon Nov 28 15:31:43 EST 2011


Is it possible to have 2D arrays in CMake? As far as the core syntax is
concerned, it seems like only 1D arrays are supported. So far I've had to
work around this issue by using a flat array and skipping over elements
using foreach() with a range and step.

Any ideas? Thanks.

---------
Robert Dailey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111128/66d2b889/attachment.htm>


More information about the CMake mailing list