[CMake] how to add 2 numbers with cmake ?
Filipe Sousa
filipe at ipb.pt
Fri Jan 20 08:25:19 EST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Gaetan Lehmann wrote:
> Hi,
>
> I'm sure it's obvious for everybody here, but I can't find how to add 2
> numbers with cmake.
> Can someone show me how to do that ?
>
> Thanks,
>
> Gaetan
>
fsousa at neptuno ~ $ cmake --help-command MATH
cmake version 2.3-20060119
MATH
Mathematical expressions.
MATH(EXPR <output variable> <math expression>)
EXPR evaluates mathematical expression and return result in the
output
variable. Example mathematical expression is '5 * ( 10 + 13 )'.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFD0OS/bQdNYqwwwCwRAsGoAJ9y81wX+eHhVf8T8hvv8TVWGo2ihgCfV0N7
WOljl4dPii9Oyr8P0jw2xJc=
=ztUH
-----END PGP SIGNATURE-----
More information about the CMake
mailing list