Version.h
1 //##################################################################################################
2 //
3 // Ceetron Desktop Components
4 // Component: Core
5 //
6 // --------------------------------------------------------------------------------------------
7 // Copyright (C) 2011, Ceetron AS
8 // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Ceetron AS. The contents of this file may
9 // not be disclosed to third parties, copied or duplicated in any form, in whole or in part,
10 // without the prior written permission of Ceetron AS.
11 //##################################################################################################
12 
13 // This is the one and only source of info for Ceetron Desktop Components
14 // This file will be included in compiled code and is parsed
15 // by the CMake scripts to embed version info in the built DLLs
16 
17 #define CEE_MAJOR_VERSION 3
18 #define CEE_MINOR_VERSION 11
19 #define CEE_PATCH_VERSION 0
20 #define CEE_SPECIAL_BUILD ""
21 
22 
23 // Single numeric value for the version constructed from minor, major and patch version
24 // The form is 0xMMNNPP (MM = major, NN = minor, PP = patch). The version 1.2.4 will be coded as 0x010204
25 #define CEE_VERSION ((CEE_MAJOR_VERSION<<16)|(CEE_MINOR_VERSION<<8)|(CEE_PATCH_VERSION))
26 
27 #define CEE_VER_STRINGIZE2(s) #s
28 #define CEE_VER_STRINGIZE(s) CEE_VER_STRINGIZE2(s)
29 #define CEE_VERSION_STRING CEE_VER_STRINGIZE(CEE_MAJOR_VERSION) "." CEE_VER_STRINGIZE(CEE_MINOR_VERSION) "." CEE_VER_STRINGIZE(CEE_PATCH_VERSION) CEE_SPECIAL_BUILD