PROJECT_VERSION — CMake 3.3.1 Documentation

### Navigation

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

# PROJECT_VERSION

Value given to the `VERSION` option of the most recent call to the `project()` command, if any.

See also the component-wise version variables `PROJECT_VERSION_MAJOR`, `PROJECT_VERSION_MINOR`, `PROJECT_VERSION_PATCH`, and `PROJECT_VERSION_TWEAK`.

### Navigation

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