Merge branch '2.0' into 2.1
This commit is contained in:
@ -16,7 +16,7 @@ endif()
|
|||||||
|
|
||||||
# Set default values for cache entries and set the MaxScale version
|
# Set default values for cache entries and set the MaxScale version
|
||||||
include(cmake/defaults.cmake)
|
include(cmake/defaults.cmake)
|
||||||
include(VERSION.cmake)
|
include(VERSION21.cmake)
|
||||||
include(ExternalProject)
|
include(ExternalProject)
|
||||||
|
|
||||||
set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.")
|
set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.")
|
||||||
|
14
VERSION21.cmake
Normal file
14
VERSION21.cmake
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# MaxScale version for CMake
|
||||||
|
#
|
||||||
|
# This file contains cache values for CMake which control MaxScale's version
|
||||||
|
# number.
|
||||||
|
|
||||||
|
set(MAXSCALE_VERSION_MAJOR "2" CACHE STRING "Major version")
|
||||||
|
set(MAXSCALE_VERSION_MINOR "1" CACHE STRING "Minor version")
|
||||||
|
set(MAXSCALE_VERSION_PATCH "3" CACHE STRING "Patch version")
|
||||||
|
|
||||||
|
# This should only be incremented if a package is rebuilt
|
||||||
|
set(MAXSCALE_BUILD_NUMBER 1 CACHE STRING "Release number")
|
||||||
|
|
||||||
|
set(MAXSCALE_VERSION_NUMERIC "${MAXSCALE_VERSION_MAJOR}.${MAXSCALE_VERSION_MINOR}.${MAXSCALE_VERSION_PATCH}")
|
||||||
|
set(MAXSCALE_VERSION "${MAXSCALE_VERSION_MAJOR}.${MAXSCALE_VERSION_MINOR}.${MAXSCALE_VERSION_PATCH}")
|
Reference in New Issue
Block a user