<PROJECT-NAME>_VERSION — CMake 3.3.2 Documentation

### Navigation

- index
- next |
- previous |
- CMake »
- 3.3.2 Documentation »
- cmake-variables(7) »

# <PROJECT-NAME>_VERSION

Value given to the `VERSION` option of the most recent call to the `project()` command with project name `<PROJECT-NAME>`, if any.

See also the component-wise version variables `<PROJECT-NAME>_VERSION_MAJOR`, `<PROJECT-NAME>_VERSION_MINOR`, `<PROJECT-NAME>_VERSION_PATCH`, and `<PROJECT-NAME>_VERSION_TWEAK`.

### Navigation

- index
- next |
- previous |
- CMake »
- 3.3.2 Documentation »
- cmake-variables(7) »