mirror of
https://github.com/reactos/CMake.git
synced 2025-02-01 01:22:58 +00:00
af1c48871c
* Introduce `CMAKE_PROJECT_VERSION` and the corresponsing components: `CMAKE_PROJECT_VERSION_MAJOR`, `CMAKE_PROJECT_VERSION_MINOR`, `CMAKE_PROJECT_VERSION_PATCH` and `CMAKE_PROJECT_VERSION_TWEAK`. * `CPack` module use `CMAKE_PROJECT_VERSION_MAJOR`, `CMAKE_PROJECT_VERSION_MINOR` and `CMAKE_PROJECT_VERSION_PATCH` to initialize corresponsing CPack variables.
10 lines
381 B
ReStructuredText
10 lines
381 B
ReStructuredText
CMAKE_PROJECT_VERSION_MAJOR
|
|
---------------------------
|
|
|
|
The major version of the top level project.
|
|
|
|
This variable holds the major version of the project as specified in the top
|
|
level CMakeLists.txt file by a :command:`project` command. Please see
|
|
:variable:`CMAKE_PROJECT_VERSION` documentation for the behavior when
|
|
multiple :command:`project` commands are used in the sources.
|