cppcheck/cmake/versions.cmake

12 lines
356 B
CMake
Raw Permalink Normal View History

2015-02-13 19:00:14 +01:00
# Version for libraries CPP
2022-07-12 23:11:29 +02:00
SET(VERSION "2.8.2")
2015-02-13 19:00:14 +01:00
STRING(REGEX MATCHALL "[0-9]" VERSION_PARTS "${VERSION}")
LIST(GET VERSION_PARTS 0 VERSION_MAJOR)
LIST(GET VERSION_PARTS 1 VERSION_MINOR)
2022-07-07 19:05:21 +02:00
LIST(GET VERSION_PARTS 2 VERSION_BUILD)
SET(SOVERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_BUILD}")
2015-02-13 19:00:14 +01:00
# Postfix of so's:
SET(DLLVERSION "")
SET(DEBUG_POSTFIX "")