From 217d66ac33fc11cd0cc4d9785e9c0246352ab964 Mon Sep 17 00:00:00 2001 From: seleznevae Date: Wed, 22 May 2019 22:42:52 +0300 Subject: [PATCH] [A] Added library version to build --- lib/CMakeLists.txt | 4 ++++ lib/fort.h | 4 ++-- src/fort.h | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 1cc56df..ae9da52 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -8,6 +8,10 @@ target_include_directories(fort ${CMAKE_CURRENT_SOURCE_DIR} ) +set_target_properties(fort + PROPERTIES VERSION 0.1.1 + SOVERSION 0.1) + if(FORT_HAVE_WCHAR) target_compile_definitions(fort PRIVATE diff --git a/lib/fort.h b/lib/fort.h index 2850bd2..ebf7eb1 100644 --- a/lib/fort.h +++ b/lib/fort.h @@ -46,8 +46,8 @@ SOFTWARE. #define LIBFORT_MAJOR_VERSION 0 #define LIBFORT_MINOR_VERSION 1 -#define LIBFORT_REVISION 0 -#define LIBFORT_VERSION_STR "0.1.0" +#define LIBFORT_REVISION 1 +#define LIBFORT_VERSION_STR "0.1.1" /***************************************************************************** diff --git a/src/fort.h b/src/fort.h index 2850bd2..ebf7eb1 100644 --- a/src/fort.h +++ b/src/fort.h @@ -46,8 +46,8 @@ SOFTWARE. #define LIBFORT_MAJOR_VERSION 0 #define LIBFORT_MINOR_VERSION 1 -#define LIBFORT_REVISION 0 -#define LIBFORT_VERSION_STR "0.1.0" +#define LIBFORT_REVISION 1 +#define LIBFORT_VERSION_STR "0.1.1" /*****************************************************************************