[CMake] Checking for empty list
Daniel Dekkers
d.dekkers at cthrough.nl
Fri Nov 25 08:52:52 EST 2011
Hi,
I know it should be out there somewhere in the documentation, but can't find
it.
How do I check for an empty list?
I can use LIST(LENGTH MYLIST LISTCOUNT) with an extra variable LISTCOUNT but
isn't there a single command?
Thanks,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111125/e7bd7c03/attachment.htm>
More information about the CMake
mailing list