From 603cd12f78f69909668f8b1530e3e8cdd32220de Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 2 Jun 2023 16:15:29 +0100 Subject: [PATCH] ECC-1607: Move the version info from CMakeLists.txt to the VERSION file --- CMakeLists.txt | 2 +- VERSION | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 VERSION diff --git a/CMakeLists.txt b/CMakeLists.txt index e7da7eead..050e8ff70 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ cmake_minimum_required( VERSION 3.12 FATAL_ERROR ) find_package( ecbuild 3.7 REQUIRED HINTS ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../ecbuild) # Initialise project -project( eccodes VERSION 2.31.0 LANGUAGES CXX ) +project( eccodes LANGUAGES CXX ) set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) diff --git a/VERSION b/VERSION new file mode 100644 index 000000000..bafceb320 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +2.31.0