File: bingo-version.cmake

package info (click to toggle)
indigo 1.2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 28,256 kB
  • sloc: ansic: 309,316; cpp: 137,636; cs: 9,118; asm: 8,011; java: 7,195; sql: 6,697; xml: 4,352; python: 3,426; sh: 207; php: 56; makefile: 49
file content (10 lines) | stat: -rw-r--r-- 327 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
SET(BINGO_VERSION "1.7.10-dev7" CACHE INTERNAL "versions" FORCE)

CMAKE_POLICY(SET CMP0012 NEW)
IF($ENV{BUILD_NUMBER})
   SET(BINGO_BUILD_VERSION $ENV{BUILD_NUMBER})
ELSE()
   SET(BINGO_BUILD_VERSION 0)
ENDIF()

SET(BINGO_VERSION_EXT "${BINGO_VERSION}.${BINGO_BUILD_VERSION} ${PACKAGE_SUFFIX}" CACHE INTERNAL "versions" FORCE)