Go to the documentation of this file.
18 #ifndef OPENCBM_VERSION_H
19 #define OPENCBM_VERSION_H
21 #define OPENCBM_VERSION_MAJOR 0
22 #define OPENCBM_VERSION_MINOR 4
23 #define OPENCBM_VERSION_SUBMINOR 99
24 #define OPENCBM_VERSION_PATCHLEVEL 0
25 #define OPENCBM_VERSION_DEVEL 99
27 #define OPENCBM_BUILD_VERSION_HELP( _a ) #_a
28 #define OPENCBM_BUILD_VERSION_STRING_PART( _a ) OPENCBM_BUILD_VERSION_HELP(_a)
29 #define OPENCBM_BUILD_VERSION_STRING_RELEASE(_a, _b, _c) OPENCBM_BUILD_VERSION_HELP(_a) "." OPENCBM_BUILD_VERSION_HELP(_b) "." OPENCBM_BUILD_VERSION_HELP(_c)
31 #if OPENCBM_VERSION_DEVEL == 0
32 #define OPENCBM_VERSION_STRING OPENCBM_BUILD_VERSION_STRING_RELEASE(OPENCBM_VERSION_MAJOR, OPENCBM_VERSION_MINOR, OPENCBM_VERSION_SUBMINOR)
33 #elif OPENCBM_VERSION_PATCHLEVEL == 0
34 #define OPENCBM_VERSION_STRING OPENCBM_BUILD_VERSION_STRING_RELEASE(OPENCBM_VERSION_MAJOR, OPENCBM_VERSION_MINOR, OPENCBM_VERSION_SUBMINOR) "." OPENCBM_BUILD_VERSION_STRING_PART( OPENCBM_VERSION_DEVEL)
36 #define OPENCBM_VERSION_STRING OPENCBM_BUILD_VERSION_STRING_RELEASE(OPENCBM_VERSION_MAJOR, OPENCBM_VERSION_MINOR, OPENCBM_VERSION_SUBMINOR) "." OPENCBM_BUILD_VERSION_STRING_PART( OPENCBM_VERSION_DEVEL) "pl" OPENCBM_BUILD_VERSION_STRING_PART(OPENCBM_VERSION_PATCHLEVEL)
41 #define CBM4WIN_VERSION_MAJOR OPENCBM_VERSION_MAJOR
42 #define CBM4WIN_VERSION_MINOR OPENCBM_VERSION_MINOR
43 #define CBM4WIN_VERSION_SUBMINOR OPENCBM_VERSION_SUBMINOR
44 #define CBM4WIN_VERSION_DEVEL OPENCBM_VERSION_DEVEL
45 #define CBM4WIN_VERSION_STRING OPENCBM_VERSION_STRING