00001 00028 #ifndef VERSION_H 00029 #define VERSION_H 00030 00031 #ifndef BUILD_VERSION_MAJOR 00033 #define BUILD_VERSION_MAJOR 0 00034 #endif // BUILD_VERSION_MAJOR 00035 #ifndef BUILD_VERSION_MINOR 00037 #define BUILD_VERSION_MINOR 0 00038 #endif // BUILD_VERSION_MINOR 00039 #ifndef BUILD_RELEASE 00041 #define BUILD_RELEASE 0 00042 #endif // BUILD_RELEASE 00043 00044 #ifndef BUILD_NUMBER 00046 #define BUILD_NUMBER 0 00047 #endif // BUILD_NUMBER 00048 00053 #ifdef DEBUG 00054 #ifndef BUILD_STATUS 00055 #define BUILD_STATUS (debug build BUILD_NUMBER) 00056 #endif 00057 #else 00058 #if !defined(TSPSG_RELEASE_BUILD) 00059 #define BUILD_STATUS (dev build) 00060 #elif !defined(BUILD_STATUS) 00061 #define BUILD_STATUS (build BUILD_NUMBER) 00062 #endif // TSPSG_RELEASE_BUILD 00063 #endif // DEBUG 00064 00066 #define QUOTE_X(x) #x 00068 #define QUOTE(x) QUOTE_X(x) 00069 00071 #define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE BUILD_STATUS) 00072 00073 #endif // VERSION_H