cppcheck/cmake/versions.cmake

12 lines
356 B
CMake

# Version for libraries CPP
SET(VERSION "2.8.2")
STRING(REGEX MATCHALL "[0-9]" VERSION_PARTS "${VERSION}")
LIST(GET VERSION_PARTS 0 VERSION_MAJOR)
LIST(GET VERSION_PARTS 1 VERSION_MINOR)
LIST(GET VERSION_PARTS 2 VERSION_BUILD)
SET(SOVERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_BUILD}")
# Postfix of so's:
SET(DLLVERSION "")
SET(DEBUG_POSTFIX "")