ds,
Marcel Loose.
-Original Message-
From: Nicolas Desprès
To: Hendrik Sattler
Cc: cmake@cmake.org
Subject: Re: [CMake] doing simple math in cmake or useless
foreach( RANGE )
Date: Tue, 19 May 2009 23:38:05 -0300
On Tue, May 19, 2009 at 6:29 PM, Hendrik Sattler
wrote:
>
> If that&
Hendrik Sattler wrote:
> Hi,
>
> either I cannot find it or it's not there: doing simple mathematic things
> like
> substract 1 from a variable.
>
> If that's not present, I do not understand how
> LIST( LENGTH MYLIST COUNT )
> FOREACH ( index RANGE ${COUNT} )
> list ( GET MYLIST ${index} ent
On Tue, May 19, 2009 at 6:29 PM, Hendrik Sattler
wrote:
>
> If that's not present, I do not understand how
> LIST( LENGTH MYLIST COUNT )
> FOREACH ( index RANGE ${COUNT} )
> list ( GET MYLIST ${index} entry )
>
>
> will address non-present indexes in the list. I would the above statement
> c
Hendrik Sattler wrote:
either I cannot find it or it's not there: doing simple mathematic things like
substract 1 from a variable.
[snip]
Any ideas?
cmake --help-command math
??
--
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
--
Here endeth the rant... which I
Hi,
either I cannot find it or it's not there: doing simple mathematic things like
substract 1 from a variable.
If that's not present, I do not understand how
LIST( LENGTH MYLIST COUNT )
FOREACH ( index RANGE ${COUNT} )
list ( GET MYLIST ${index} entry )
will address non-present indexes in