2015-02-13 19:00:14 +01:00
|
|
|
# Version for libraries CPP
|
2023-06-28 16:25:11 +02:00
|
|
|
# Version string must have 3 "parts". https://sourceforge.net/p/cppcheck/discussion/development/thread/e57efb2b62/
|
2023-09-10 18:43:00 +02:00
|
|
|
SET(VERSION "2.12.99")
|
2022-08-22 20:13:13 +02:00
|
|
|
STRING(REGEX MATCHALL "[0-9]+" VERSION_PARTS "${VERSION}")
|
2015-02-13 19:00:14 +01:00
|
|
|
LIST(GET VERSION_PARTS 0 VERSION_MAJOR)
|
|
|
|
LIST(GET VERSION_PARTS 1 VERSION_MINOR)
|
2023-03-04 17:19:31 +01:00
|
|
|
LIST(GET VERSION_PARTS 2 VERSION_PATCH)
|
|
|
|
SET(SOVERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}")
|
2015-02-13 19:00:14 +01:00
|
|
|
|
|
|
|
# Postfix of so's:
|
|
|
|
SET(DLLVERSION "")
|
|
|
|
SET(DEBUG_POSTFIX "")
|