testing: limit random port range to probably unused ports
[awesomized/libmemcached] / CMakeVersions.txt
1 function(to_hex HEX)
2 set(XNUMBER 0x)
3 set(XDIGITS 0 1 2 3 4 5 6 7 8 9 a b c d e f)
4 foreach(DEC IN LISTS ARGN)
5 if(${DEC} GREATER 255)
6 message(WARNING "to_hex(HEX ${DEC}): decimal number out of uint8 range (>=256)")
7 endif()
8 math(EXPR HIDEC "${DEC} / 16")
9 math(EXPR LODEC "${DEC} % 16")
10 list(GET XDIGITS ${HIDEC} HIHEX)
11 list(GET XDIGITS ${LODEC} LOHEX)
12 string(APPEND XNUMBER ${HIHEX}${LOHEX})
13 endforeach()
14 set(${HEX} ${XNUMBER} PARENT_SCOPE)
15 endfunction()
16
17 #
18 # libmemcached
19 #
20
21 set(LIBMEMCACHED_VERSION_MAJOR 1)
22 set(LIBMEMCACHED_VERSION_MINOR 0)
23 set(LIBMEMCACHED_VERSION_PATCH 99)
24
25 set(LIBMEMCACHED_VERSION ${LIBMEMCACHED_VERSION_MAJOR}.${LIBMEMCACHED_VERSION_MINOR}.${LIBMEMCACHED_VERSION_PATCH})
26 set(LIBMEMCACHED_VERSION_INC ${LIBMEMCACHED_VERSION_MAJOR}.${LIBMEMCACHED_VERSION_MINOR})
27 to_hex(LIBMEMCACHED_VERSION_HEX ${LIBMEMCACHED_VERSION_MAJOR} ${LIBMEMCACHED_VERSION_MINOR} ${LIBMEMCACHED_VERSION_PATCH})
28
29 # libmemcached.so
30
31 set(LIBMEMCACHED_SO_VERSION_CUR 12)
32 set(LIBMEMCACHED_SO_VERSION_REV 0)
33 set(LIBMEMCACHED_SO_VERSION_AGE 0)
34
35 set(LIBMEMCACHED_SO_VERSION ${LIBMEMCACHED_SO_VERSION_CUR}.${LIBMEMCACHED_SO_VERSION_REV}.${LIBMEMCACHED_SO_VERSION_AGE})
36
37 #
38 # libmemcachedutil
39 #
40
41 set(LIBMEMCACHEDUTIL_VERSION_MAJOR 1)
42 set(LIBMEMCACHEDUTIL_VERSION_MINOR 0)
43 set(LIBMEMCACHEDUTIL_VERSION_PATCH 0)
44
45 set(LIBMEMCACHEDUTIL_VERSION ${LIBMEMCACHEDUTIL_VERSION_MAJOR}.${LIBMEMCACHEDUTIL_VERSION_MINOR}.${LIBMEMCACHEDUTIL_VERSION_PATCH})
46 set(LIBMEMCACHEDUTIL_VERSION_INC ${LIBMEMCACHEDUTIL_VERSION_MAJOR}.${LIBMEMCACHEDUTIL_VERSION_MINOR})
47 to_hex(LIBMEMCACHEDUTIL_VERSION_HEX ${LIBMEMCACHEDUTIL_VERSION_MAJOR} ${LIBMEMCACHEDUTIL_VERSION_MINOR} ${LIBMEMCACHEDUTIL_VERSION_PATCH})
48
49 # libmemcachedutil.so
50
51 set(LIBMEMCACHEDUTIL_SO_VERSION_CUR 2)
52 set(LIBMEMCACHEDUTIL_SO_VERSION_REV 0)
53 set(LIBMEMCACHEDUTIL_SO_VERSION_AGE 0)
54
55 set(LIBMEMCACHEDUTIL_SO_VERSION ${LIBMEMCACHEDUTIL_SO_VERSION_CUR}.${LIBMEMCACHEDUTIL_SO_VERSION_REV}.${LIBMEMCACHEDUTIL_SO_VERSION_AGE})
56
57 #
58 # libmemcachedprotocol
59 #
60
61 set(LIBMEMCACHEDPROTOCOL_VERSION_MAJOR 0)
62 set(LIBMEMCACHEDPROTOCOL_VERSION_MINOR 0)
63 set(LIBMEMCACHEDPROTOCOL_VERSION_PATCH 0)
64
65 set(LIBMEMCACHEDPROTOCOL_VERSION ${LIBMEMCACHEDPROTOCOL_VERSION_MAJOR}.${LIBMEMCACHEDPROTOCOL_VERSION_MINOR}.${LIBMEMCACHEDPROTOCOL_VERSION_PATCH})
66 set(LIBMEMCACHEDPROTOCOL_VERSION_INC ${LIBMEMCACHEDPROTOCOL_VERSION_MAJOR}.${LIBMEMCACHEDPROTOCOL_VERSION_MINOR})
67 to_hex(LIBMEMCACHEDPROTOCOL_VERSION_HEX ${LIBMEMCACHEDPROTOCOL_VERSION_MAJOR} ${LIBMEMCACHEDPROTOCOL_VERSION_MINOR} ${LIBMEMCACHEDPROTOCOL_VERSION_PATCH})
68
69 # libmemcachedprotocol.so
70
71 set(LIBMEMCACHEDPROTOCOL_SO_VERSION_CUR 0)
72 set(LIBMEMCACHEDPROTOCOL_SO_VERSION_REV 0)
73 set(LIBMEMCACHEDPROTOCOL_SO_VERSION_AGE 0)
74
75 set(LIBMEMCACHEDPROTOCOL_SO_VERSION ${LIBMEMCACHEDPROTOCOL_SO_VERSION_CUR}.${LIBMEMCACHEDPROTOCOL_SO_VERSION_REV}.${LIBMEMCACHEDPROTOCOL_SO_VERSION_AGE})
76
77 #
78 # libhashkit
79 #
80
81 set(LIBHASHKIT_VERSION_MAJOR 1)
82 set(LIBHASHKIT_VERSION_MINOR 0)
83 set(LIBHASHKIT_VERSION_PATCH 0)
84
85 set(LIBHASHKIT_VERSION ${LIBHASHKIT_VERSION_MAJOR}.${LIBHASHKIT_VERSION_MINOR}.${LIBHASHKIT_VERSION_PATCH})
86 set(LIBHASHKIT_VERSION_INC ${LIBHASHKIT_VERSION_MAJOR}.${LIBHASHKIT_VERSION_MINOR})
87 to_hex(LIBHASHKIT_VERSION_HEX ${LIBHASHKIT_VERSION_MAJOR} ${LIBHASHKIT_VERSION_MINOR} ${LIBHASHKIT_VERSION_PATCH})
88
89 # libhashkit.so
90
91 set(LIBHASHKIT_SO_VERSION_CUR 2)
92 set(LIBHASHKIT_SO_VERSION_REV 0)
93 set(LIBHASHKIT_SO_VERSION_AGE 0)
94
95 set(LIBHASHKIT_SO_VERSION ${LIBHASHKIT_SO_VERSION_CUR}.${LIBHASHKIT_SO_VERSION_REV}.${LIBHASHKIT_SO_VERSION_AGE})