### Navigation

- index
- next |
- previous |
- CMake »
- 3.0.2 Documentation »
- cmake-commands(7) »

# math

Mathematical expressions.

    math(EXPR <output variable> <math expression>)

EXPR evaluates mathematical expression and returns result in the output variable. Example mathematical expression is ‘5 * ( 10 + 13 )’. Supported operators are + - * / % | & ^ ~ << >> * / %. They have the same meaning as they do in C code.

### Navigation

- index
- next |
- previous |
- CMake »
- 3.0.2 Documentation »
- cmake-commands(7) »