Le Wed, 3 Dec 2008 10:09:56 -0600,
"Robert Dailey" <[EMAIL PROTECTED]> a écrit :
> On Tue, Dec 2, 2008 at 3:00 PM, Alexander Neundorf
> <[EMAIL PROTECTED]>wrote:
>
> > It expects a variable which holds a list:
> >
> > set(myList foo bar)
> > list( LENGTH myList listlen )
> > message( ${listlen} )
On Tue, Dec 2, 2008 at 3:00 PM, Alexander Neundorf
<[EMAIL PROTECTED]>wrote:
> It expects a variable which holds a list:
>
> set(myList foo bar)
> list( LENGTH myList listlen )
> message( ${listlen} )
>
> (didn't test or check docs, but I think that should be it)
Why did you do:
list( LENGTH my
On Tuesday 02 December 2008, Robert Dailey wrote:
> 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?
It expects a variable which ho
Am Dienstag, 2. Dezember 2008 schrieb Robert Dailey:
> 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?
list takes a list-name, so
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?
___
CMake mailing list
CMake@cmake.org
http://www.cm