2021-02-18 02:07:34 +03:00
|
|
|
cmake_minimum_required(VERSION 2.8)
|
|
|
|
|
2021-03-19 17:41:24 +03:00
|
|
|
set(MAJOR_VERSION "0")
|
2021-04-19 23:08:44 +03:00
|
|
|
set(MINOR_VERSION "6")
|
|
|
|
set(PATCH_VERSION "2")
|
2021-03-19 17:41:24 +03:00
|
|
|
set(VERSION_STRING "${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}")
|
|
|
|
|
|
|
|
if (CMAKE_VERSION VERSION_LESS 3.0)
|
|
|
|
project(vitastor)
|
|
|
|
else()
|
|
|
|
cmake_policy(SET CMP0048 NEW)
|
|
|
|
project(vitastor VERSION "${VERSION_STRING}")
|
|
|
|
endif()
|
2021-02-18 02:07:34 +03:00
|
|
|
|
2021-05-16 01:17:54 +03:00
|
|
|
set(VERSION "0.6.4")
|
2021-04-20 01:01:32 +03:00
|
|
|
|
2021-02-18 02:14:09 +03:00
|
|
|
add_subdirectory(src)
|