[CMake] doing simple math in cmake or useless foreach( RANGE )

Matthew Woehlke mw_triad at users.sourceforge.net
Tue May 19 17:54:09 EDT 2009


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 realize is not likely to Win Friends or 
Influence People, especially the person to whom it was directed.
   -- Charles Wilson (generalized)



More information about the CMake mailing list