-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathversion.cmake
34 lines (28 loc) · 1.2 KB
/
version.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#...............................................................................
#
# This file is part of the Jancy toolkit.
#
# Jancy is distributed under the MIT license.
# For details see accompanying license.txt file,
# the public copy of which is also available at:
# http://tibbo.com/downloads/archive/jancy/license.txt
#
#...............................................................................
set(JANCY_VERSION_MAJOR 1)
set(JANCY_VERSION_MINOR 12)
set(JANCY_VERSION_REVISION 1)
set(JANCY_VERSION_TAG)
set(JANCY_VERSION_FULL "${JANCY_VERSION_MAJOR}.${JANCY_VERSION_MINOR}.${JANCY_VERSION_REVISION}")
if(NOT "${JANCY_VERSION_TAG}" STREQUAL "")
set(JANCY_VERSION_TAG_SUFFIX " ${JANCY_VERSION_TAG}")
set(JANCY_VERSION_FILE_SUFFIX "${JANCY_VERSION_FULL}-${JANCY_VERSION_TAG}")
else()
set(JANCY_VERSION_TAG_SUFFIX)
set(JANCY_VERSION_FILE_SUFFIX "${JANCY_VERSION_FULL}")
endif()
string(TIMESTAMP JANCY_VERSION_YEAR "%Y")
string(TIMESTAMP JANCY_VERSION_MONTH "%m")
string(TIMESTAMP JANCY_VERSION_DAY "%d")
set(JANCY_VERSION_COMPANY "Tibbo Technology Inc")
set(JANCY_VERSION_YEARS "2012-${JANCY_VERSION_YEAR}")
#...............................................................................