2020-08-06 14:40:00 +03:00
|
|
|
set( MIRALL_VERSION_MAJOR 3 )
|
2024-04-11 16:05:32 +03:00
|
|
|
set( MIRALL_VERSION_MINOR 13 )
|
2024-04-23 21:37:38 +03:00
|
|
|
set( MIRALL_VERSION_PATCH 50 )
|
2024-01-29 19:44:15 +03:00
|
|
|
set( MIRALL_VERSION_YEAR 2024 )
|
2013-12-09 19:35:30 +04:00
|
|
|
set( MIRALL_SOVERSION 0 )
|
2012-05-11 12:17:57 +04:00
|
|
|
|
2021-03-16 14:09:49 +03:00
|
|
|
# Minimum supported server version according to https://docs.nextcloud.com/server/latest/admin_manual/release_schedule.html
|
2021-08-24 15:51:31 +03:00
|
|
|
set(NEXTCLOUD_SERVER_VERSION_MIN_SUPPORTED_MAJOR 16)
|
2021-03-16 14:09:49 +03:00
|
|
|
set(NEXTCLOUD_SERVER_VERSION_MIN_SUPPORTED_MINOR 0)
|
|
|
|
set(NEXTCLOUD_SERVER_VERSION_MIN_SUPPORTED_PATCH 0)
|
|
|
|
|
2023-01-12 20:55:04 +03:00
|
|
|
set(NEXTCLOUD_SERVER_VERSION_SECURE_FILEDROP_MIN_SUPPORTED_MAJOR 26)
|
|
|
|
set(NEXTCLOUD_SERVER_VERSION_SECURE_FILEDROP_MIN_SUPPORTED_MINOR 0)
|
|
|
|
set(NEXTCLOUD_SERVER_VERSION_SECURE_FILEDROP_MIN_SUPPORTED_PATCH 0)
|
|
|
|
|
2024-03-26 00:06:11 +03:00
|
|
|
set(NEXTCLOUD_SERVER_VERSION_MOUNT_ROOT_PROPERTY_SUPPORTED_MAJOR 28)
|
|
|
|
set(NEXTCLOUD_SERVER_VERSION_MOUNT_ROOT_PROPERTY_SUPPORTED_MINOR 0)
|
|
|
|
set(NEXTCLOUD_SERVER_VERSION_MOUNT_ROOT_PROPERTY_SUPPORTED_PATCH 3)
|
|
|
|
|
2013-12-09 22:03:22 +04:00
|
|
|
if ( NOT DEFINED MIRALL_VERSION_SUFFIX )
|
2015-10-19 16:56:45 +03:00
|
|
|
set( MIRALL_VERSION_SUFFIX "git") #e.g. beta1, beta2, rc1
|
2013-12-09 22:03:22 +04:00
|
|
|
endif( NOT DEFINED MIRALL_VERSION_SUFFIX )
|
|
|
|
|
|
|
|
if( NOT DEFINED MIRALL_VERSION_BUILD )
|
|
|
|
set( MIRALL_VERSION_BUILD "0" ) # Integer ID. Generated by the build system
|
|
|
|
endif( NOT DEFINED MIRALL_VERSION_BUILD )
|
2013-12-09 19:35:30 +04:00
|
|
|
# Composite defines
|
|
|
|
# Used e.g. for libraries Keep at x.y.z.
|
|
|
|
set( MIRALL_VERSION "${MIRALL_VERSION_MAJOR}.${MIRALL_VERSION_MINOR}.${MIRALL_VERSION_PATCH}" )
|
|
|
|
# Version with Build ID. Used in the installer
|
|
|
|
set( MIRALL_VERSION_FULL ${MIRALL_VERSION} )
|
|
|
|
set( MIRALL_VERSION_STRING ${MIRALL_VERSION} )
|
|
|
|
set( MIRALL_VERSION_FULL "${MIRALL_VERSION_FULL}.${MIRALL_VERSION_BUILD}" )
|
|
|
|
|
2013-12-09 20:13:32 +04:00
|
|
|
set( MIRALL_VERSION_STRING "${MIRALL_VERSION}${MIRALL_VERSION_SUFFIX}" )
|
|
|
|
|
|
|
|
if( MIRALL_VERSION_BUILD )
|
|
|
|
set( MIRALL_VERSION_STRING "${MIRALL_VERSION_STRING} (build ${MIRALL_VERSION_BUILD})" )
|
|
|
|
endif( MIRALL_VERSION_BUILD )
|