CMake: change project identifier to simplify code
- Using CALAMARES means that the automatic versioning variables are set using that name (instead of lower-case).
This commit is contained in:
parent
01f5ac22a0
commit
14bedef411
@ -36,10 +36,12 @@
|
|||||||
# to obtain the version number from here.
|
# to obtain the version number from here.
|
||||||
|
|
||||||
cmake_minimum_required( VERSION 3.2 FATAL_ERROR )
|
cmake_minimum_required( VERSION 3.2 FATAL_ERROR )
|
||||||
project( calamares
|
project( CALAMARES
|
||||||
VERSION 3.2.5
|
VERSION 3.2.5
|
||||||
LANGUAGES C CXX )
|
LANGUAGES C CXX )
|
||||||
|
|
||||||
|
set( CALAMARES_VERSION_RC 0 ) # Set to 0 during release cycle, 1 during development
|
||||||
|
|
||||||
### OPTIONS
|
### OPTIONS
|
||||||
#
|
#
|
||||||
option( INSTALL_CONFIG "Install configuration files" OFF )
|
option( INSTALL_CONFIG "Install configuration files" OFF )
|
||||||
@ -77,12 +79,6 @@ set( CALAMARES_APPLICATION_NAME "Calamares" )
|
|||||||
set( CALAMARES_DESCRIPTION_SUMMARY
|
set( CALAMARES_DESCRIPTION_SUMMARY
|
||||||
"The distribution-independent installer framework" )
|
"The distribution-independent installer framework" )
|
||||||
|
|
||||||
# Take settings from the project() command
|
|
||||||
set( CALAMARES_VERSION_MAJOR ${calamares_VERSION_MAJOR} )
|
|
||||||
set( CALAMARES_VERSION_MINOR ${calamares_VERSION_MINOR} )
|
|
||||||
set( CALAMARES_VERSION_PATCH ${calamares_VERSION_PATCH} )
|
|
||||||
set( CALAMARES_VERSION_RC 0 )
|
|
||||||
|
|
||||||
### Transifex (languages) info
|
### Transifex (languages) info
|
||||||
#
|
#
|
||||||
# complete = 100% translated,
|
# complete = 100% translated,
|
||||||
|
Loading…
Reference in New Issue
Block a user