File: version.cmake

package info (click to toggle)
purify 2.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 58,688 kB
  • sloc: cpp: 8,410; python: 375; makefile: 7
file content (7 lines) | stat: -rw-r--r-- 241 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
set(Purify_VERSION 2.0.0)
set(version ${Purify_VERSION})
string(REGEX REPLACE "\\." ";" version "${Purify_VERSION}")
list(GET version 0 Purify_VERSION_MAJOR)
list(GET version 1 Purify_VERSION_MINOR)
list(GET version 2 Purify_VERSION_PATCH)