|
Version: 0.6.0
|
23 #include "wx/version.h"
26 #define wxGIS_MAJOR_VERSION 0
27 #define wxGIS_MINOR_VERSION 6
28 #define wxGIS_RELEASE_NUMBER 0
29 #define wxGIS_SUBRELEASE_NUMBER 0
32 #define wxGIS_VERSION_NUM_STRING \
33 wxMAKE_VERSION_STRING(wxGIS_MAJOR_VERSION, wxGIS_MINOR_VERSION, wxGIS_RELEASE_NUMBER)
34 #define wxGIS_VERSION_NUM_DOT_STRING \
35 wxMAKE_VERSION_DOT_STRING(wxGIS_MAJOR_VERSION, wxGIS_MINOR_VERSION, wxGIS_RELEASE_NUMBER)
38 #define wxGIS_VERSION_NUM_STRING_T \
39 wxMAKE_VERSION_STRING_T(wxGIS_MAJOR_VERSION, wxGIS_MINOR_VERSION, wxGIS_RELEASE_NUMBER)
40 #define wxGIS_VERSION_NUM_DOT_STRING_T \
41 wxMAKE_VERSION_DOT_STRING_T(wxGIS_MAJOR_VERSION, wxGIS_MINOR_VERSION, wxGIS_RELEASE_NUMBER)
44 #define wxGIS_CHECK_VERSION(major,minor,release) \
45 (wxGIS_MAJOR_VERSION > (major) || \
46 (wxGIS_MAJOR_VERSION == (major) && wxGIS_MINOR_VERSION > (minor)) || \
47 (wxGIS_MAJOR_VERSION == (major) && wxGIS_MINOR_VERSION == (minor) && wxGIS_RELEASE_NUMBER >= (release)))
50 #define wxGIS_CHECK_VERSION_FULL(major,minor,release,subrel) \
51 (wxCHECK_VERSION(major, minor, release) && \
52 ((major) != wxGIS_MAJOR_VERSION || \
53 (minor) != wxGIS_MINOR_VERSION || \
54 (release) != wxGIS_RELEASE_NUMBER || \
55 (subrel) <= wxGIS_SUBRELEASE_NUMBER))