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
--
Powered by www.kitware.com
Visit other
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?
if (MYLIST)
Eike
--
Powered by www.kitware.com
Visit other
On 11/25/2011 02:52 PM, Daniel Dekkers wrote:
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?
Michael
Wild
Verzonden: vrijdag 25 november 2011 15:15
Aan: cmake@cmake.org
Onderwerp: Re: [CMake] Checking for empty list
On 11/25/2011 02:52 PM, Daniel Dekkers wrote:
Hi,
I know it should be out there somewhere in the documentation, but
can't find it.
How do I check for an empty
On 11/25/2011 03:15 PM, Michael Wild wrote:
On 11/25/2011 02:52 PM, Daniel Dekkers wrote:
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