1
0
Fork 0

[A] Added library version to build

This commit is contained in:
seleznevae 2019-05-22 22:42:52 +03:00
parent b920188d98
commit 217d66ac33
3 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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"
/*****************************************************************************

View File

@ -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"
/*****************************************************************************