Set version 2.8.1
This commit is contained in:
parent
a626c2d171
commit
32a0641365
|
@ -1,9 +1,10 @@
|
|||
# Version for libraries CPP
|
||||
SET(VERSION "2.8")
|
||||
SET(VERSION "2.8.1")
|
||||
STRING(REGEX MATCHALL "[0-9]" VERSION_PARTS "${VERSION}")
|
||||
LIST(GET VERSION_PARTS 0 VERSION_MAJOR)
|
||||
LIST(GET VERSION_PARTS 1 VERSION_MINOR)
|
||||
SET(SOVERSION "${VERSION_MAJOR}.${VERSION_MINOR}")
|
||||
LIST(GET VERSION_PARTS 2 VERSION_BUILD)
|
||||
SET(SOVERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_BUILD}")
|
||||
|
||||
# Postfix of so's:
|
||||
SET(DLLVERSION "")
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
#define STRINGIFY(x) STRING(x)
|
||||
#define STRING(VER) #VER
|
||||
#if CPPCHECK_MINOR == CPPCHECK_DEVMINOR
|
||||
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR) "." STRINGIFY(CPPCHECK_DEVMINOR)
|
||||
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,0,0
|
||||
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR) "." STRINGIFY(CPPCHECK_DEVMINOR) ".1"
|
||||
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,1,0
|
||||
#else
|
||||
#define CPPCHECK_VERSION_STRING STRINGIFY(CPPCHECK_MAJOR) "." STRINGIFY(CPPCHECK_DEVMINOR) " dev"
|
||||
#define CPPCHECK_VERSION CPPCHECK_MAJOR,CPPCHECK_MINOR,99,0
|
||||
|
|
Loading…
Reference in New Issue