cppcheck/cmake/versions.cmake

12 lines
362 B
CMake
Raw Normal View History

2015-02-13 19:00:14 +01:00
# Version for libraries CPP
2021-03-22 21:53:10 +01:00
SET(VERSION "2.4.1")
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)
2021-03-22 21:53:10 +01:00
LIST(GET VERSION_PARTS 2 VERSION_DEVMINOR)
SET(SOVERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_DEVMINOR}")
2015-02-13 19:00:14 +01:00
# Postfix of so's:
SET(DLLVERSION "")
SET(DEBUG_POSTFIX "")